rename follder compose to services

This commit is contained in:
2025-02-02 12:14:03 +02:00
parent 24a5f78fed
commit d5ba06fb78
13 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
#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
env_file:
- path: ./env-files/gotify.env
volumes:
- ${DOCKERDIR}/gotify/data:/app/data
networks:
- proxy
labels:
traefik.enable: true
## HTTP Routers
traefik.http.routers.${GOTIFY_HOST_NAME}-rtr.entrypoints: https
traefik.http.routers.${GOTIFY_HOST_NAME}-rtr.rule: Host(`${GOTIFY_HOST_NAME}.$DOMAINNAME1`)
## Middlewares
#traefik.http.routers.${GOTIFY_HOST_NAME}-rtr.middlewares: chain-authelia@file
traefik.http.routers.${GOTIFY_HOST_NAME}-rtr.middlewares: chain-no-auth@file
## HTTP Services
traefik.http.routers.${GOTIFY_HOST_NAME}-rtr.service: ${GOTIFY_HOST_NAME}-svc
traefik.http.services.${GOTIFY_HOST_NAME}-svc.loadbalancer.server.port: 80