mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 03:41:23 +02:00
🔧 chore(zitare): change zitare-web port from 5012 to 5018
Port 5012 is used by calendar-web Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b6bd07beca
commit
ad8d5c3bc0
2 changed files with 6 additions and 6 deletions
|
|
@ -88,16 +88,16 @@ COPY apps/zitare/apps/web/docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
RUN chmod +x /docker-entrypoint.sh
|
RUN chmod +x /docker-entrypoint.sh
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 5012
|
EXPOSE 5018
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PORT=5012
|
ENV PORT=5018
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
|
|
||||||
# Health check
|
# Health check
|
||||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||||
CMD wget --no-verbose --tries=1 --spider http://localhost:5012/health || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://localhost:5018/health || exit 1
|
||||||
|
|
||||||
# Run the app
|
# Run the app
|
||||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||||
|
|
|
||||||
|
|
@ -1077,15 +1077,15 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PORT: 5012
|
PORT: 5018
|
||||||
PUBLIC_ZITARE_API_URL: http://zitare-backend:3007
|
PUBLIC_ZITARE_API_URL: http://zitare-backend:3007
|
||||||
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||||
PUBLIC_ZITARE_API_URL_CLIENT: https://zitare-api.mana.how
|
PUBLIC_ZITARE_API_URL_CLIENT: https://zitare-api.mana.how
|
||||||
PUBLIC_MANA_CORE_AUTH_URL_CLIENT: https://auth.mana.how
|
PUBLIC_MANA_CORE_AUTH_URL_CLIENT: https://auth.mana.how
|
||||||
ports:
|
ports:
|
||||||
- "5012:5012"
|
- "5018:5018"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5012/health"]
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5018/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue