2022-01-29 10:25:47 +01:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
gotify:
|
|
|
|
image: gotify/server:latest
|
|
|
|
container_name: gotify
|
|
|
|
env_file:
|
|
|
|
- gotify.env
|
|
|
|
volumes:
|
|
|
|
- ./data:/app/data
|
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.port=80
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.gotify.entrypoints=web
|
2022-01-29 10:25:47 +01:00
|
|
|
- traefik.http.routers.gotify.rule=Host(`${GOTIFY_FQDN}`)
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.middlewares.gotify-https-redirect.redirectscheme.scheme=websecure
|
2022-01-29 10:25:47 +01:00
|
|
|
- traefik.http.routers.gotify.middlewares=gotify-https-redirect
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.gotify-secure.entrypoints=websecure
|
2022-01-29 10:25:47 +01:00
|
|
|
- traefik.http.routers.gotify-secure.rule=Host(`${GOTIFY_FQDN}`)
|
|
|
|
- traefik.http.routers.gotify-secure.tls=true
|
2022-05-04 08:10:53 +02:00
|
|
|
- traefik.http.routers.gotify-secure.tls.certresolver=letsencrypt
|
2022-01-29 10:25:47 +01:00
|
|
|
- com.centurylinklabs.watchtower.enable="true"
|
|
|
|
- com.centurylinklabs.watchtower.monitor-only="true"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|