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:
14
deploy/systemd/local-kanban.service
Normal file
14
deploy/systemd/local-kanban.service
Normal 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
|
||||
Reference in New Issue
Block a user