Files
nas-compose/notifications.docker-compose.yml
2022-12-28 22:10:14 +01:00

37 lines
774 B
YAML

name: Notifications
services:
gotify:
image: gotify/server
entrypoint: ./data/entrypoint.sh
environment:
GOTIFY_DEFAULTUSER_PASS_FILE: /run/secrets/admin_password
networks:
- gotify
- traefik
volumes:
- gotify_data:/app/data/
secrets:
- gotify_admin_password
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.gotify.rule: HostRegexp(`gotify{subdomain:(\.[a-z0-9-]+)?}.dedicated.contact`)
networks:
gotify:
name: gotify
traefik:
external: true
volumes:
gotify_data:
driver_opts:
type: none
o: bind
device: ${SERVICES_DIR?}/gotify/volumes/data/
secrets:
gotify_admin_password:
file: ${SERVICES_DIR?}/gotify/secrets/admin_password