mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-19 01:01:30 +02:00
deploy(calc): add docker-compose, cloudflared tunnel, SSO config
- docker-compose.macmini.yml: calc-web service on port 5026 - cloudflared-config.yml: calc.mana.how → localhost:5026 - mana-auth trusted origins: add https://calc.mana.how - mana-credits & mana-user CORS: add https://calc.mana.how - Dockerfile port updated from 5018 to 5026 (5018 used by zitare) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0841f6b334
commit
cb549776ac
4 changed files with 38 additions and 8 deletions
|
|
@ -21,10 +21,10 @@ COPY --from=builder /app/apps/calc/apps/web/node_modules ./node_modules
|
|||
COPY --from=builder /app/apps/calc/apps/web/build ./build
|
||||
COPY --from=builder /app/apps/calc/apps/web/package.json ./
|
||||
|
||||
EXPOSE 5018
|
||||
ENV NODE_ENV=production PORT=5018 HOST=0.0.0.0
|
||||
EXPOSE 5026
|
||||
ENV NODE_ENV=production PORT=5026 HOST=0.0.0.0
|
||||
|
||||
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:5026/health || exit 1
|
||||
|
||||
CMD ["node", "build"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue