-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgotify.yml
More file actions
55 lines (52 loc) · 1.44 KB
/
gotify.yml
File metadata and controls
55 lines (52 loc) · 1.44 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
networks:
# todo: maybe a separate notify network is better than re-using monitor
monitor:
proxy:
volumes:
diun-data:
gotify-data:
services:
gotify:
image: ghcr.io/gotify/server:2.9.1
environment:
- TZ=${TIMEZONE}
expose:
- 80 # webui
extends:
file: common.yml
service: log-to-json
networks:
- proxy
- monitor
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- gotify-data:/app/data
diun:
image: ghcr.io/crazy-max/diun:4.31
command: serve
environment:
- TZ=${TIMEZONE}
- DIUN_NOTIF_GOTIFY_ENDPOINT=http://gotify
- DIUN_NOTIF_GOTIFY_TOKEN=${MONITOR_DIUN_GOTIFY_TOKEN}
- DIUN_WATCH_WORKERS=10
- DIUN_WATCH_SCHEDULE=0 */6 * * *
- DIUN_REGOPTS_0_NAME=docker.io
- DIUN_REGOPTS_0_SELECTOR=image
- DIUN_REGOPTS_0_USERNAME=${MONITOR_DIUN_DOCKERHUB_USERNAME}
- DIUN_REGOPTS_0_PASSWORD=${MONITOR_DIUN_DOCKERHUB_PASSWORD}
- DIUN_REGOPTS_1_NAME=ghcr.io
- DIUN_REGOPTS_1_SELECTOR=image
- DIUN_REGOPTS_1_USERNAME=${MONITOR_DIUN_GHCR_USERNAME}
- DIUN_REGOPTS_1_PASSWORD=${MONITOR_DIUN_GHCR_PASSWORD}
- DIUN_PROVIDERS_FILE_FILENAME=/config.yml
extends:
file: common.yml
service: log-to-json
networks:
- monitor
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- diun-data:/data
- ./diun/config.yml:/config.yml:ro