docker updated

This commit is contained in:
2025-11-03 09:55:21 +08:00
parent 56927ac9f3
commit 8e7e69e7ce

View File

@@ -14,20 +14,17 @@ services:
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.services.healthy-oil-frontend.loadbalancer.server.port=80
- traefik.http.routers.healthy-oil-frontend-http.rule=Host(`healthy-oil.develop-cat.com`)
- traefik.http.routers.healthy-oil-frontend-http.entrypoints=web
- traefik.http.routers.healthy-oil-frontend-http.service=healthy-oil-frontend
- traefik.http.routers.healthy-oil-frontend-https.rule=Host(`healthy-oil.develop-cat.com`)
- traefik.http.routers.healthy-oil-frontend-https.entrypoints=websecure
- traefik.http.routers.healthy-oil-frontend-https.tls=true
# - traefik.http.routers.healthy-oil-frontend-https.tls.certresolver=le
# Enable redirection for HTTP and HTTPS
- traefik.http.routers.healthy-oil-frontend-http.middlewares=https-redirect
- traefik.http.routers.healthy-oil-frontend-https.service=healthy-oil-frontend
networks:
traefik-public: