fix: restore port mapping for tablejerseys-web service and comment out unused networks
Some checks failed
Deploy Production / deploy (push) Failing after 57s

This commit is contained in:
Frank John Begornia
2026-01-12 23:57:15 +08:00
parent 35fc78ff32
commit 59cf73b854

View File

@@ -4,8 +4,8 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: tablejerseys-web container_name: tablejerseys-web
# ports: ports:
# - "80:3000" # Not needed when using Traefik - "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
@@ -33,9 +33,9 @@ services:
- "traefik.http.routers.tablejerseys-web-http.middlewares=https-redirect" - "traefik.http.routers.tablejerseys-web-http.middlewares=https-redirect"
- "traefik.http.middlewares.https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.https-redirect.redirectscheme.scheme=https"
networks: networks:
- traefik-public - traefik-public # Commented out - create this network first if using Traefik
- crew-app-net - crew-app-net # Commented out - create this network first if needed
- tablejerseys-network # - tablejerseys-network
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"] test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
interval: 30s interval: 30s
@@ -44,9 +44,9 @@ services:
start_period: 40s start_period: 40s
networks: networks:
traefik-public: # traefik-public:
external: true # external: true
crew-app-net: # crew-app-net:
external: true # external: true
tablejerseys-network: tablejerseys-network:
driver: bridge driver: bridge