Init stops-import, DB-Env
Deploy PBT / deploy (push) Failing after 16s

This commit is contained in:
2026-09-10 21:58:22 +02:00
parent 2a6e9c690b
commit 158311a329
6 changed files with 50 additions and 10 deletions
+3 -2
View File
@@ -5,8 +5,9 @@ After=network.target
[Service]
User=www-data
WorkingDirectory=/opt/pbt
Environment="PBT_DATABASE_URL=postgresql://pbt_app:changeme@postgres/pbt"
Environment="PBT_SECRET_KEY=bitte-aendern"
# Secrets live in a root-owned file on the host, not in this tracked unit.
# Copy pbt.env.example to /etc/pbt/pbt.env and fill in the real values.
EnvironmentFile=/etc/pbt/pbt.env
ExecStart=/opt/pbt/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 app:app
Restart=always