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

This commit is contained in:
Frank John Begornia
2026-01-13 00:11:50 +08:00
parent 59cf73b854
commit 7bac5a9d71

View File

@@ -4,8 +4,8 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: tablejerseys-web container_name: tablejerseys-web
ports: # ports:
- "3001:3000" # Using 3001 to avoid conflict with other apps on port 3000 # - "3001:3000" # Using 3001 to avoid conflict with other apps on port 3000
environment: environment:
- NODE_ENV=production - NODE_ENV=production
# Add your environment variables here # Add your environment variables here
@@ -26,7 +26,7 @@ services:
- "traefik.http.routers.tablejerseys-web.entrypoints=websecure" - "traefik.http.routers.tablejerseys-web.entrypoints=websecure"
- "traefik.http.routers.tablejerseys-web.tls=true" - "traefik.http.routers.tablejerseys-web.tls=true"
- "traefik.http.routers.tablejerseys-web.tls.certresolver=le" - "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 # HTTP to HTTPS redirect
- "traefik.http.routers.tablejerseys-web-http.rule=Host(`${DOMAIN:-tablejerseys.com}`)" - "traefik.http.routers.tablejerseys-web-http.rule=Host(`${DOMAIN:-tablejerseys.com}`)"
- "traefik.http.routers.tablejerseys-web-http.entrypoints=web" - "traefik.http.routers.tablejerseys-web-http.entrypoints=web"