Add deploy webhook receiver for snotes

This commit is contained in:
2026-09-23 10:15:36 -07:00
parent abfbf3de1f
commit 3486edc141
5 changed files with 283 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=snotes deploy webhook receiver
After=network.target docker.service
Requires=docker.service
[Service]
Type=simple
User=root
WorkingDirectory=/root/git/snotes/deploy
ExecStart=/usr/bin/python3 /root/git/snotes/deploy/webhook-server.py --port 9997 --secret __WEBHOOK_SECRET__
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target