docker file changed

This commit is contained in:
2025-11-03 09:52:21 +08:00
parent 708ce80dbb
commit 56927ac9f3
2 changed files with 33 additions and 6 deletions

View File

@@ -4,10 +4,9 @@ services:
context: .
dockerfile: Dockerfile
container_name: healthy-oil
volumes:
- .:/app
- /app/node_modules
ports:
- "3015:80"
networks:
- traefik-public
@@ -20,10 +19,10 @@ services:
- 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=http
- traefik.http.routers.healthy-oil-frontend-http.entrypoints=web
- traefik.http.routers.healthy-oil-frontend-https.rule=Host(`healthy-oil.develop-cat.com`)
- traefik.http.routers.healthy-oil-frontend-https.entrypoints=https
- 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
@@ -32,3 +31,4 @@ services:
networks:
traefik-public:
external: true