Add deployment workflow (docker-compose, deploy.sh, webhook receiver)

This commit is contained in:
2026-06-10 11:17:08 +02:00
parent 84c933ea9c
commit b9fc741505
5 changed files with 129 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Webhook Receiver für AufmaßWeb Deployment
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/aufmassweb
ExecStart=/usr/bin/python3 /opt/aufmassweb/webhook_deploy.py
Restart=always
RestartSec=5
Environment=WEBHOOK_SECRET=change-me
Environment=DEPLOY_SCRIPT=/opt/aufmassweb/deploy.sh
[Install]
WantedBy=multi-user.target