diff --git a/apps/skilltree/apps/web/Dockerfile b/apps/skilltree/apps/web/Dockerfile index 89bafdef6..a4cd617ec 100644 --- a/apps/skilltree/apps/web/Dockerfile +++ b/apps/skilltree/apps/web/Dockerfile @@ -66,16 +66,16 @@ COPY --from=builder /app/apps/skilltree/apps/web/build ./build COPY --from=builder /app/apps/skilltree/apps/web/package.json ./ # Expose port -EXPOSE 5018 +EXPOSE 5020 # Set environment variables ENV NODE_ENV=production -ENV PORT=5018 +ENV PORT=5020 ENV HOST=0.0.0.0 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:5018/health || exit 1 + CMD wget --no-verbose --tries=1 --spider http://localhost:5020/health || exit 1 # Run the app CMD ["node", "build"] diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index 92386e14f..60945c714 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -1256,15 +1256,15 @@ services: condition: service_healthy environment: NODE_ENV: production - PORT: 5018 + PORT: 5020 PUBLIC_BACKEND_URL: http://skilltree-backend:3038 PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001 PUBLIC_BACKEND_URL_CLIENT: https://skilltree-api.mana.how PUBLIC_MANA_CORE_AUTH_URL_CLIENT: https://auth.mana.how ports: - - "5018:5018" + - "5020:5020" healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5018/health"] + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5020/health"] interval: 30s timeout: 10s retries: 3 diff --git a/docker/caddy/Caddyfile.production b/docker/caddy/Caddyfile.production index 18c34e234..69527db11 100644 --- a/docker/caddy/Caddyfile.production +++ b/docker/caddy/Caddyfile.production @@ -82,7 +82,7 @@ contacts-api.mana.how { # Skilltree App # ============================================ skilltree.mana.how { - reverse_proxy localhost:5018 + reverse_proxy localhost:5020 } skilltree-api.mana.how {