Cloudflare Pages
Static sites: Landing pages, documentation
Manacore uses multiple deployment strategies depending on the application type.
Cloudflare Pages
Static sites: Landing pages, documentation
Mac Mini Server
Docker containers: Backends, databases
Hetzner Storage
S3-compatible object storage for files
| Type | Deployment Target | Method |
|---|---|---|
| Landing Pages (Astro) | Cloudflare Pages | Direct Upload |
| Web Apps (SvelteKit) | Cloudflare Pages | Adapter |
| Backends (NestJS) | Mac Mini / Docker | Docker Compose |
| Databases | Mac Mini / Docker | Docker Compose |
| Static Assets | Hetzner S3 | Direct Upload |
┌─────────────────────────────────────────────────────────────┐│ Cloudflare ││ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ││ │ chat.mana │ │ docs.mana │ │ picture.mana│ ... ││ │ core.app │ │ core.app │ │ core.app │ ││ └─────────────┘ └─────────────┘ └─────────────┘ ││ │ │ │ ││ └────────────────┼────────────────┘ ││ │ ││ Cloudflare Tunnel │└──────────────────────────┼──────────────────────────────────┘ │ ▼┌─────────────────────────────────────────────────────────────┐│ Mac Mini Server ││ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ││ │ mana-core- │ │ chat- │ │ zitare- │ ... ││ │ auth:3001 │ │ backend:3002│ │ backend:3007│ ││ └─────────────┘ └─────────────┘ └─────────────┘ ││ │ │ │ ││ └────────────────┼────────────────┘ ││ ▼ ││ ┌─────────────────────────────────────────────────┐ ││ │ PostgreSQL:5432 │ Redis:6379 │ MinIO:9000 │ ││ └─────────────────────────────────────────────────┘ │└─────────────────────────────────────────────────────────────┘# Deploy individual landing pagepnpm deploy:landing:chatpnpm deploy:landing:picturepnpm deploy:landing:zitare
# Deploy all landing pagespnpm deploy:landing:all# Deploy documentation sitepnpm deploy:docs# Connect to serverssh mana-server
# Pull latest changescd ~/projects/manacore-monorepogit pull
# Restart services./scripts/mac-mini/deploy.sh| Environment | Purpose | URL Pattern |
|---|---|---|
| Development | Local testing | localhost:* |
| Staging | Pre-production testing | staging.*.manacore.app |
| Production | Live users | *.manacore.app |
# View deploymentsnpx wrangler pages deployment list --project-name=chat-landing
# Rollback to previousnpx wrangler pages deployment tail <deployment-id> --project-name=chat-landingssh mana-servercd ~/projects/manacore-monorepo
# Revert to previous commitgit checkout HEAD~1
# Rebuild and restart./scripts/mac-mini/deploy.sh