🔧 fix(skilltree): change web port to 5020 (5018 used by zitare)

This commit is contained in:
Till-JS 2026-02-13 23:14:38 +01:00
parent d49d147257
commit 405084b52d
3 changed files with 7 additions and 7 deletions

View file

@ -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"]

View file

@ -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

View file

@ -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 {