Initial commit

This commit is contained in:
2025-02-01 17:40:16 +02:00
parent 4ca9647a43
commit c46bbbc075
7 changed files with 146 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#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