feat(infra): add docker-compose for new Hono services + DB init

- Add mana-user (3062), mana-subscriptions (3063), mana-analytics (3064)
  to docker-compose with health checks and traefik labels
- Replace old NestJS Tier 3 app backends (~300 lines) with comment
  placeholder for Hono compute servers (need shared Dockerfile)
- Create docker/Dockerfile.hono-server — shared Bun Dockerfile for
  all 14 app compute servers (ARG APP for build context)
- Add 5 new databases to setup-databases.sh: mana_auth, mana_credits,
  mana_user, mana_subscriptions, mana_analytics, mana_sync

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-28 17:54:24 +01:00
parent 5e05c532a2
commit 18fae3b66d
3 changed files with 124 additions and 303 deletions

View file

@ -56,6 +56,7 @@ push_schema() {
# All databases that should exist
ALL_DATABASES=(
"manacore"
"mana_auth"
"chat"
"zitare"
"contacts"
@ -85,6 +86,12 @@ ALL_DATABASES=(
"traces"
"context"
"citycorners"
# New Hono service databases (extracted from mana-core-auth)
"mana_credits"
"mana_user"
"mana_subscriptions"
"mana_analytics"
"mana_sync"
)
# Check if specific service requested