fix: comment out port mapping for tablejerseys-web service and update load balancer port to 80
Some checks failed
Deploy Production / deploy (push) Failing after 57s
Some checks failed
Deploy Production / deploy (push) Failing after 57s
This commit is contained in:
@@ -4,8 +4,8 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: tablejerseys-web
|
||||
ports:
|
||||
- "3001:3000" # Using 3001 to avoid conflict with other apps on port 3000
|
||||
# ports:
|
||||
# - "3001:3000" # Using 3001 to avoid conflict with other apps on port 3000
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Add your environment variables here
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
- "traefik.http.routers.tablejerseys-web.entrypoints=websecure"
|
||||
- "traefik.http.routers.tablejerseys-web.tls=true"
|
||||
- "traefik.http.routers.tablejerseys-web.tls.certresolver=le"
|
||||
- "traefik.http.services.tablejerseys-web.loadbalancer.server.port=3000"
|
||||
- "traefik.http.services.tablejerseys-web.loadbalancer.server.port=80"
|
||||
# HTTP to HTTPS redirect
|
||||
- "traefik.http.routers.tablejerseys-web-http.rule=Host(`${DOMAIN:-tablejerseys.com}`)"
|
||||
- "traefik.http.routers.tablejerseys-web-http.entrypoints=web"
|
||||
|
||||
Reference in New Issue
Block a user