mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
🔧 fix(skilltree): change web port to 5020 (5018 used by zitare)
This commit is contained in:
parent
d49d147257
commit
405084b52d
3 changed files with 7 additions and 7 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue