Files
nas-compose/notifications.docker-compose.yml
2023-01-05 07:46:24 +01:00

40 lines
835 B
YAML

name: Notifications
services:
gotify:
image: gotify/server
entrypoint: ./data/entrypoint.sh
environment:
GOTIFY_SERVER_PORT: 8080
GOTIFY_DEFAULTUSER_PASS_FILE: /run/secrets/gotify_admin_password
user: ${NASCOMPOSE_UID?}:${NASCOMPOSE_GID?}
networks:
- gotify
- traefik
volumes:
- gotify_data:/app/data/
secrets:
- gotify_admin_password
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.services.gotify.loadbalancer.server.port: 8080
networks:
gotify:
name: gotify
traefik:
external: true
volumes:
gotify_data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/gotify/data/
secrets:
gotify_admin_password:
file: ${NASCOMPOSE_SERVICES?}/secrets/gotify/admin_password