-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
37 lines (37 loc) · 1.38 KB
/
Copy pathmain.yml
File metadata and controls
37 lines (37 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
- name: WUD - Set up container
community.docker.docker_container:
name: wud
image: ghcr.io/getwud/wud:latest
networks:
- name: host
dns_servers: "{{ dns.servers }}"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
healthcheck:
test: curl --fail http://localhost:${WUD_SERVER_PORT:-3000}/health || exit 1
interval: 10s
timeout: 10s
retries: 3
start_period: 10s
env: "{{ static_dict | combine(wud_registry_logins) | combine (wud_extra_registries | default({}) ) }}"
restart: true
state: healthy
restart_policy: always
pull: true
labels:
traefik.enable: "false"
vars:
static_dict:
WUD_SERVER_PORT: "9103"
WUD_WATCHER_LOCAL_CRON: "33 4 * * *"
WUD_REGISTRY_HUB_PUBLIC_WATCHDIGEST: "true"
WUD_REGISTRY_HUB_PUBLIC_SUPPRESSDIGESTWATCHWARNING: "true"
WUD_TRIGGER_DOCKER_UPGRADEANY_AUTO: "true"
WUD_TRIGGER_DOCKER_UPGRADEANY_PRUNE: "true"
WUD_TRIGGER_HTTP_NOTIFYANY_AUTO: "true"
WUD_TRIGGER_HTTP_NOTIFYANY_URL: https://n8n.frai.se/webhook/{{ wud_n8n_path }}
WUD_TRIGGER_HTTP_NOTIFYANY_SIMPLETITLE: "{{ inventory_hostname }}"
WUD_TRIGGER_HTTP_NOTIFYANY_SIMPLEBODY: "{{ inventory_hostname }}"
WUD_TRIGGER_HTTP_NOTIFYANY_AUTH_TYPE: BEARER
WUD_TRIGGER_HTTP_NOTIFYANY_AUTH_BEARER: "{{ wud_n8n_bearer }}"