managarten/cloudflared-config.yml
Till JS e3115b302d feat(infra): add Cloudflare fallback plan + self-hosted landing pages
Two infrastructure improvements for tech independence:

1. Cloudflare Fallback Documentation (docs/CLOUDFLARE_FALLBACK.md):
   - Plan B: WireGuard + Caddy on Hetzner VPS (€3.79/mo)
   - Complete Caddyfile with all 30+ subdomains
   - Step-by-step failover checklist (~15 min to switch)
   - Plan C: Direct IP with ISP

2. Self-Hosted Landing Pages (eliminates Cloudflare Pages dependency):
   - Nginx container (mana-infra-landings) on port 4400
   - Multi-site config: each subdomain → separate dist/ folder
   - Build script: scripts/mac-mini/build-landings.sh
   - Cloudflare Tunnel ingress rules for 10 landing page domains
   - Storage: /Volumes/ManaData/landings/ on external SSD
   - Domains: it, chats, pics, zitares, presis, clocks,
     manadeck, nutriphi, citycorners, docs

Migration path: Build landings locally, set Cloudflare DNS to
tunnel instead of Pages, then decommission CF Pages projects.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 12:07:40 +01:00

140 lines
3.6 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
# Chat App
- hostname: chat.mana.how
service: http://localhost:5010
- hostname: chat-api.mana.how
service: http://localhost:3030
# Todo App
- hostname: todo.mana.how
service: http://localhost:5011
- hostname: todo-api.mana.how
service: http://localhost:3031
# Calendar App
- hostname: calendar.mana.how
service: http://localhost:5012
- hostname: calendar-api.mana.how
service: http://localhost:3032
# Clock App
- hostname: clock.mana.how
service: http://localhost:5013
- hostname: clock-api.mana.how
service: http://localhost:3033
- hostname: clock-bot.mana.how
service: http://localhost:4018
# Contacts App
- hostname: contacts.mana.how
service: http://localhost:5014
- hostname: contacts-api.mana.how
service: http://localhost:3034
# Storage App
- hostname: storage.mana.how
service: http://localhost:5015
- hostname: storage-api.mana.how
service: http://localhost:3035
# Presi App
- hostname: presi.mana.how
service: http://localhost:5016
- hostname: presi-api.mana.how
service: http://localhost:3036
# NutriPhi App
- hostname: nutriphi.mana.how
service: http://localhost:5017
- hostname: nutriphi-api.mana.how
service: http://localhost:3037
# Photos App
- hostname: photos.mana.how
service: http://localhost:5019
- hostname: photos-api.mana.how
service: http://localhost:3039
# Mukke App
- hostname: mukke.mana.how
service: http://localhost:5180
- hostname: mukke-api.mana.how
service: http://localhost:3010
# Picture App
- hostname: picture.mana.how
service: http://localhost:5021
- hostname: picture-api.mana.how
service: http://localhost:3040
# LLM Services
- hostname: playground.mana.how
service: http://localhost:5090
# AI Voice Services
- 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
# 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:4080
- 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: manadeck.mana.how
service: http://localhost:4400
- hostname: nutriphi.mana.how
service: http://localhost:4400
- hostname: citycorners.mana.how
service: http://localhost:4400
- hostname: docs.mana.how
service: http://localhost:4400
# Catch-all
- service: http_status:404