33 lines
No EOL
856 B
YAML
33 lines
No EOL
856 B
YAML
---
|
|
deploy_svc:
|
|
domain: "{{ all_services | service_get_domain(role_name) }}"
|
|
port: 9000
|
|
|
|
deploy_yml:
|
|
- id: deploy-reitanlage_oranienburg
|
|
trigger-rule-mismatch-http-response-code: 400
|
|
execute-command: /config/deploy-reitanlage_oranienburg
|
|
pass-file-to-command:
|
|
- source: payload
|
|
name: data
|
|
envname: WEBHOOK_DATA
|
|
base64decode: true
|
|
trigger-rule:
|
|
and:
|
|
- match:
|
|
type: value
|
|
value: "{{ vault_deploy.reitanlage_oranienburg_token }}"
|
|
parameter:
|
|
source: header
|
|
name: X-Webhook-Token
|
|
|
|
deploy_compose:
|
|
watchtower: update
|
|
image: lwlook/webhook
|
|
volumes:
|
|
- ./config:/config:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
file:
|
|
services:
|
|
app:
|
|
command: ["-verbose", "-hooks=/config/hooks.yml", "-hotreload"] |