Commit 9fada871 authored by HgO's avatar HgO
Browse files

Merge branch '134-limiter-l-ecoute-du-webhook-sur-l-ip-locale' into 'main'

Resolve "Limiter l'écoute du webhook sur l'IP locale"

Closes #134

See merge request !190
parents 23b8611b 03a12f43
Pipeline #813 passed with stage
in 2 minutes and 44 seconds
webhook_name: github-pull
webhook_owner: labriqueinter-net
webhook_group: "{{ webhook_owner }}"
webhook_listen_ip: '[2001:913:1000:11::101]'
webhook_script: webhook/scripts/pull.sh
webhook_working_dir: /var/www/labriqueinter-net/dist
webhook_token: "{{ vault_webhook_token }}"
......
webhook_name: github-pull-webhook
webhook_owner: webhook
webhook_group: "{{ webhook_owner }}"
webhook_listen_ip: 10.0.2.15
webhook_script: webhook/scripts/pull.sh
webhook_working_dir: /var/www/webhook/dist
webhook_token: github-secret
......
......@@ -7,7 +7,7 @@ After=network.target
Type=simple
Restart=always
RestartSec=2s
ExecStart=/usr/bin/webhook --verbose --port 9000 --hooks /etc/webhook/config.yml
ExecStart=/usr/bin/webhook --verbose --ip {{ webhook_listen_ip }} --port 9000 --hooks /etc/webhook/config.yml
ExecReload = /bin/kill -s USR1 $MAINPID
ExecStop = /bin/kill -s TERM $MAINPID
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment