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:
Till JS 2026-03-29 08:53:41 +02:00
parent 0841f6b334
commit cb549776ac
4 changed files with 38 additions and 8 deletions

View file

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