Split PostgreSQL into gallery_dev and gallery_prod, add Docker/Gitea deploy tooling, SMB image sync, pgAdmin split script, dev:web on Keenetic :5173, and operator docs. Co-authored-by: Cursor <cursoragent@cursor.com>
24 lines
659 B
Desktop File
24 lines
659 B
Desktop File
# LEGACY — superseded by TrueNAS Docker prod (https://gallery.mysuperlab.netcraze.pro:5173).
|
|
# systemd unit for running Node directly on a Linux host — not used in current homelab setup.
|
|
# Install:
|
|
# sudo cp deploy/gallery.service /etc/systemd/system/gallery.service
|
|
# sudo systemctl daemon-reload
|
|
# sudo systemctl enable --now gallery
|
|
|
|
[Unit]
|
|
Description=Art Gallery (Node.js)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=gallery
|
|
WorkingDirectory=/opt/Art-gallery
|
|
Environment=NODE_ENV=production
|
|
EnvironmentFile=/opt/Art-gallery/.env
|
|
ExecStart=/usr/bin/node server/index.js
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|