diff --git a/docker-compose.yml b/docker-compose.yml index d24430a..e5bedd1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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"