services: authgw-poc: build: . expose: - 3000 env_file: - .env networks: - dokploy-network labels: - traefik.enable=true - traefik.http.routers.authgw-poc-web.rule=Host(`poc-demo.apps.next-hd.net`) - traefik.http.routers.authgw-poc-web.entrypoints=web - traefik.http.routers.authgw-poc-web.middlewares=redirect-to-https - traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https - traefik.http.routers.authgw-poc-web.service=authgw-poc-svc - traefik.http.routers.authgw-poc-websecure.rule=Host(`poc-demo.apps.next-hd.net`) - traefik.http.routers.authgw-poc-websecure.entrypoints=websecure - traefik.http.routers.authgw-poc-websecure.tls.certresolver=letsencrypt - traefik.http.routers.authgw-poc-websecure.middlewares=oauth-errors@file,oauth-auth@file - traefik.http.routers.authgw-poc-websecure.service=authgw-poc-svc - traefik.http.services.authgw-poc-svc.loadbalancer.server.port=3000 restart: unless-stopped networks: dokploy-network: external: true