chore: scaffold backend venv, health check, systemd unit

This commit is contained in:
Indiana
2026-07-20 14:52:53 +00:00
parent 7ab8adce83
commit 1736dd021b
8 changed files with 54 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Quantumancy web app
After=network.target postgresql.service
[Service]
Type=simple
WorkingDirectory=/root/quantumancy/backend
EnvironmentFile=/root/quantumancy/.env
ExecStart=/root/quantumancy/backend/venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 7777
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target