Files
nas-compose/notifications.docker-compose.yml
2022-12-31 09:37:24 +01:00

37 lines
669 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
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