services: gotify: container_name: gotify image: ghcr.io/gotify/server:2.6.3 restart: unless-stopped labels: - traefik-instance=${TRAEFIK_INSTANCE} - traefik.enable=true - traefik.http.routers.gotify.rule=Host(`${DOMAIN}`) - traefik.http.routers.gotify.entrypoints=websecure - traefik.http.services.gotify.loadbalancer.server.port=80 environment: - TZ=${TZ} - GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION} volumes: - ${APPDATA_PATH}/gotify/config:/app/data ports: - ${PORT}:80 networks: - frontend networks: frontend: external: true