managarten/cloudflared-config.yml
Till JS 8fe16b20f4 feat(infra): Phase 5 — consolidate to single web container
Remove 20 standalone web containers, simplify tunnel and auth config:

docker-compose.macmini.yml (-579 lines):
- Remove chat-web, todo-web, calendar-web, clock-web, contacts-web,
  zitare-web, storage-web, presi-web, cards-web, nutriphi-web,
  skilltree-web, photos-web, mukke-web, citycorners-web, picture-web,
  inventar-web, calc-web, times-web, uload-web, memoro-web
- Keep: mana-web (unified), element-web, matrix-web, arcade-web, manavoxel-web
- Update mana-web with all backend API URLs, increase mem_limit to 256m

cloudflared-config.yml (-60 lines):
- Remove all *.mana.how web subdomains (now served at mana.how/*)
- Keep backend API subdomains (*-api.mana.how)

mana-auth trustedOrigins (30 → 8 origins):
- Only mana.how + games/matrix subdomains that remain separate

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 21:17:38 +02:00

126 lines
4.1 KiB
YAML

tunnel: bb0ea86d-8253-4a54-838b-107bb7945be9
credentials-file: /Users/mana/.cloudflared/bb0ea86d-8253-4a54-838b-107bb7945be9.json
ingress:
# SSH Access (requires cloudflared on client)
- hostname: ssh.mana.how
service: ssh://localhost:22
# ManaCore Dashboard (Main)
- hostname: mana.how
service: http://localhost:5000
# Auth Service
- hostname: auth.mana.how
service: http://localhost:3001
# API Gateway (Go)
- hostname: api.mana.how
service: http://localhost:3016
# Forgejo (Git + CI/CD)
- hostname: git.mana.how
service: http://localhost:3041
# ──────────────────────────────────────────────────────────
# Backend APIs (Hono/Bun compute servers — stay separate)
# ──────────────────────────────────────────────────────────
- hostname: chat-api.mana.how
service: http://localhost:3030
- hostname: todo-api.mana.how
service: http://localhost:3031
- hostname: calendar-api.mana.how
service: http://localhost:3032
- hostname: clock-api.mana.how
service: http://localhost:3033
- hostname: contacts-api.mana.how
service: http://localhost:3034
- hostname: zitare-api.mana.how
service: http://localhost:3007
- hostname: skilltree-api.mana.how
service: http://localhost:3038
- hostname: cards-api.mana.how
service: http://localhost:3009
- hostname: storage-api.mana.how
service: http://localhost:3035
- hostname: presi-api.mana.how
service: http://localhost:3036
- hostname: nutriphi-api.mana.how
service: http://localhost:3037
- hostname: photos-api.mana.how
service: http://localhost:3039
- hostname: mukke-api.mana.how
service: http://localhost:3010
- hostname: picture-api.mana.how
service: http://localhost:3040
- hostname: clock-bot.mana.how
service: http://localhost:4018
# NOTE: All web app subdomains (chat.mana.how, todo.mana.how, etc.)
# are removed — they now run as routes under the unified app at mana.how
# (e.g., mana.how/chat, mana.how/todo, etc.)
# AI Voice Services (local STT/TTS, läuft über mana-service-llm)
- hostname: stt-api.mana.how
service: http://localhost:3020
- hostname: tts-api.mana.how
service: http://localhost:3022
# Games
- hostname: whopxl.mana.how
service: http://localhost:5100
- hostname: arcade.mana.how
service: http://localhost:5210
# Public Status Page (generated every 60s by mana-status-gen container)
- hostname: status.mana.how
service: http://localhost:4400
# Monitoring & Tools
- hostname: grafana.mana.how
service: http://localhost:8000
- hostname: stats.mana.how
service: http://localhost:8010
# Matrix (DSGVO-konformes Messaging)
- hostname: matrix.mana.how
service: http://localhost:4000
- hostname: element.mana.how
service: http://localhost:4010
- hostname: link.mana.how
service: http://localhost:4090
# GlitchTip Error Tracking
- hostname: glitchtip.mana.how
service: http://localhost:8020
# Self-Hosted Landing Pages (via Nginx on port 4400)
- hostname: it.mana.how
service: http://localhost:4400
- hostname: chats.mana.how
service: http://localhost:4400
- hostname: pics.mana.how
service: http://localhost:4400
- hostname: zitares.mana.how
service: http://localhost:4400
- hostname: presis.mana.how
service: http://localhost:4400
- hostname: clocks.mana.how
service: http://localhost:4400
- hostname: docs.mana.how
service: http://localhost:4400
# GPU Server (Windows PC, LAN: 192.168.178.11)
- hostname: gpu-llm.mana.how
service: http://192.168.178.11:3025
- hostname: gpu-stt.mana.how
service: http://192.168.178.11:3020
- hostname: gpu-tts.mana.how
service: http://192.168.178.11:3022
- hostname: gpu-img.mana.how
service: http://192.168.178.11:3023
- hostname: gpu-ollama.mana.how
service: http://192.168.178.11:11434
# Catch-all
- service: http_status:404