Add workflow
Deploy PBT / deploy (push) Failing after 32s

This commit is contained in:
2026-09-09 17:39:25 +02:00
parent c295e7c676
commit f4c75526c3
12 changed files with 452 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=PBT Flask App (Gunicorn)
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"
ExecStart=/opt/pbt/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8000 app:app
Restart=always
[Install]
WantedBy=multi-user.target