services: gotify: profiles: ["monitoring","all","gotify"] image: gotify/server:latest container_name: gotify restart: always volumes: - ${PROJECT_ROOT}/monitoring/gotify/data:/app/data environment: - TZ=${TZ} - GOTIFY_DEFAULTUSER_NAME=${GOTIFY_DEFAULTUSER_NAME} - GOTIFY_DEFAULTUSER_PASS=${GOTIFY_DEFAULTUSER_PASS} - GOTIFY_REGISTRATION=${GOTIFY_REGISTRATION} networks: # - traefik_reverse_proxy - traefik labels: - "traefik.enable=true" - "traefik.docker.network=core_traefik" - "io.portainer.accesscontrol.public" - "traefik.http.routers.gotify.rule=Host(`gotify.lan.ddnsgeek.com`)" - "traefik.http.routers.gotify.entrypoints=websecure" - "traefik.http.routers.gotify.tls.certresolver=myresolver" - "traefik.http.services.gotify.loadbalancer.server.port=80" #networks: # traefik_reverse_proxy: # external: true