ops: add deployment scripts and nginx/systemd configs

Scripts for installing and starting the app and nginx proxy.
Includes systemd user service units and nginx configs for
both user-mode 8443 and system-mode 443.
This commit is contained in:
2026-05-15 11:14:16 +08:00
parent a9d36e3ccf
commit 72289d2c75
9 changed files with 460 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Local Kanban Node app
After=network-online.target
[Service]
Type=simple
WorkingDirectory=/home/gahow/projects/kanban
ExecStart=/home/gahow/projects/kanban/scripts/start-kanban.sh
Restart=always
RestartSec=3
Environment=NODE_ENV=production
[Install]
WantedBy=default.target