1.2 KiB
1.2 KiB
Deployment
How It Works
- Push to
main→ GitHub Actions builds frontend + deploys to VPS (217.160.174.2) - App runs as systemd service
jury-votingon port 3002 - Caddy (managed via NoteGraph/Caddyfile) proxies
unikat.andreknie.de→localhost:3002 - Score data persists in
/opt/jury-voting/server/data/session.json
DNS Setup (one-time)
Add an A record: unikat.andreknie.de → 217.160.174.2
Caddy handles HTTPS automatically via Let's Encrypt.
GitHub Secret
DEPLOY_SSH_KEY— SSH key for root@217.160.174.2 (already configured)
URLs
- Login:
https://unikat.andreknie.de/?token=UNIKAT_jury - Results (beamer):
https://unikat.andreknie.de/results - Admin:
https://unikat.andreknie.de/admin - Password:
UNIKAT_jury
Future: Move to d-hive.de
When ready to move to unikat.d-hive.de:
- Add DNS A record for
unikat.d-hive.de→ VPS IP - Add
unikat.d-hive.deblock to Caddyfile (same asunikat.andreknie.de)
Manual Operations (on VPS)
# Check service status
systemctl status jury-voting
# View logs
journalctl -u jury-voting -f
# Restart
systemctl restart jury-voting
# Reset all scores (start fresh)
rm /opt/jury-voting/server/data/session.json
systemctl restart jury-voting