Add production release and VPS deploy artifacts (#123, #124)

This commit is contained in:
2026-11-09 22:03:54 +01:00
parent 3a849ddff0
commit b1767e5fbc
14 changed files with 526 additions and 6 deletions
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Inner Square Chess (Phoenix)
After=network.target docker.service
Wants=network.target
[Service]
Type=simple
User=chesstrainer
Group=chesstrainer
EnvironmentFile=/etc/chesstrainer/env
WorkingDirectory=/opt/chesstrainer/current
ExecStartPre=/opt/chesstrainer/current/bin/migrate
ExecStart=/opt/chesstrainer/current/bin/server
Restart=always
RestartSec=5
SyslogIdentifier=chesstrainer
[Install]
WantedBy=multi-user.target