Files
Homelab/docker/compose/dc-gotify.yml
2025-02-01 17:40:16 +02:00

29 lines
791 B
YAML

#networks:
# notification:
# name: notification
# driver: bridge
# database:
# name: database
# external: true
services:
gotify:
image: ${GOTIFY_IMAGE}:${GOTIFY_TAG}
container_name: ${GOTIFY_CONTAINER_NAME}
restart: ${GOTIFY_RESTART_POLICY}
security_opt:
- no-new-privileges:true
ports:
- ${GOTIFY_PORT:-8080}:80
# environment:
# - GOTIFY_DEFAULTUSER_PASS=custom
# - GOTIFY_DATABASE_DIALECT=mysql
# - GOTIFY_DATABASE_CONNECTION=gotify:ubKrbI1NNn)/ryKT@tcp(mariadb:3306)/gotify?charset=utf8&parseTime=True&loc=Local
# - GOTIFY_PLUGINSDIR=data/plugins
env_file:
- path: ./gotify.env
volumes:
- ${DOCKERDIR}/gotify/gotify_data:/app/data
networks:
- proxy
# - notification
# - database