summaryrefslogtreecommitdiff
path: root/deployment/task-dashboard.service
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-20 15:39:53 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-20 15:39:53 -1000
commit845dda44574fb69cf7af3c2b4df9021451db8b11 (patch)
tree198a013de085c6febe8bb911508be9f45191d4a2 /deployment/task-dashboard.service
parentcb592195189685471f054578390b5a6f3440187e (diff)
Add VPS deployment artifacts and documentation
Include systemd service file, Apache reverse proxy config, and comprehensive deployment guide for Linux VPS setup. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'deployment/task-dashboard.service')
-rw-r--r--deployment/task-dashboard.service25
1 files changed, 25 insertions, 0 deletions
diff --git a/deployment/task-dashboard.service b/deployment/task-dashboard.service
new file mode 100644
index 0000000..7afd9d9
--- /dev/null
+++ b/deployment/task-dashboard.service
@@ -0,0 +1,25 @@
+[Unit]
+Description=Task Dashboard - Personal task aggregation dashboard
+After=network.target
+
+[Service]
+Type=simple
+User=www-data
+Group=www-data
+WorkingDirectory=/site/%i
+ExecStart=/site/%i/app
+Restart=always
+RestartSec=5
+
+# Environment file for secrets and configuration
+EnvironmentFile=/site/%i/.env
+
+# Security hardening
+NoNewPrivileges=true
+ProtectSystem=strict
+ProtectHome=true
+ReadWritePaths=/site/%i/data
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target