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: .
dockerfile: Dockerfile
container_name: tablejerseys-web
# ports:
# - "80:3000" # Not needed when using Traefik
ports:
- "3001:3000" # Using 3001 to avoid conflict with other apps on port 3000
environment:
- NODE_ENV=production
# Add your environment variables here
@@ -33,9 +33,9 @@ services:
- "traefik.http.routers.tablejerseys-web-http.middlewares=https-redirect"
- "traefik.http.middlewares.https-redirect.redirectscheme.scheme=https"
networks:
- traefik-public
- crew-app-net
- tablejerseys-network
- traefik-public # Commented out - create this network first if using Traefik
- crew-app-net # Commented out - create this network first if needed
# - tablejerseys-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
interval: 30s
@@ -44,9 +44,9 @@ services:
start_period: 40s
networks:
traefik-public:
external: true
crew-app-net:
external: true
# traefik-public:
# external: true
# crew-app-net:
# external: true
tablejerseys-network:
driver: bridge