- Add FastAPI webhook receiver for Forgejo push events - Add setup script for server deployment - Add Caddy snippet for webhook endpoint - Add local sync-schemas.sh helper script - Sync frontend schemas with source (archived deprecated slots) Infrastructure scripts staged for optional webhook deployment. Current deployment uses: ./infrastructure/deploy.sh --frontend
25 lines
569 B
Desktop File
25 lines
569 B
Desktop File
[Unit]
|
|
Description=GLAM Deploy Webhook Service
|
|
Documentation=https://git.bronhouder.nl/kempersc/glam
|
|
After=network.target caddy.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=glam
|
|
Group=glam
|
|
WorkingDirectory=/var/lib/glam/scripts
|
|
Environment="WEBHOOK_SECRET="
|
|
ExecStart=/usr/bin/python3 -m uvicorn deploy-webhook:app --host 127.0.0.1 --port 8099
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
# Security
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/glam /var/www/glam-frontend
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|