← Retour
[Unit]
Description=GitLab Webhook Receiver for Docker Auto-Deploy
After=network.target docker.service
Wants=docker.service
[Service]
Type=simple
User=gouroubleu
Group=gouroubleu
WorkingDirectory=/opt/deploy-webhook
ExecStart=/usr/bin/python3 /opt/deploy-webhook/webhook-receiver.py --env ENV_PLACEHOLDER --port 5500
Restart=always
RestartSec=5
Environment=WEBHOOK_SECRET=SECRET_PLACEHOLDER
[Install]
WantedBy=multi-user.target