-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
30 lines (29 loc) · 768 Bytes
/
Copy pathcompose.yml
File metadata and controls
30 lines (29 loc) · 768 Bytes
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
services:
gotify:
image: gotify/server
restart: unless-stopped
networks:
- caddy
- postgres
volumes:
- /srv/gotify:/app/data
- ../../data/gotify:/etc/gotify
# /etc/gotify/config.yml
labels:
traefik.enable: "true"
traefik.http.routers.gotify.rule: Host(`gotify.marcpartensky.com`)
traefik.http.routers.gotify.entrypoints: web
traefik.http.services.gotify.loadbalancer.server.port: 80
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
environment:
TZ: Europe/Paris
# user: "1234:1234" # Utilisateur recommandé par la doc Gotify
networks:
caddy:
external: true
postgres:
external: true