mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:41:09 +02:00
Complete brand rename from ManaCore to Mana:
- Package scope: @manacore/* → @mana/*
- App directory: apps/manacore/ → apps/mana/
- IndexedDB: new Dexie('manacore') → new Dexie('mana')
- Env vars: MANA_CORE_AUTH_URL → MANA_AUTH_URL, MANA_CORE_SERVICE_KEY → MANA_SERVICE_KEY
- Docker: container/network names manacore-* → mana-*
- PostgreSQL user: manacore → mana
- Display name: ManaCore → Mana everywhere
- All import paths, branding, CI/CD, Grafana dashboards updated
No live data to migrate. Dexie table names (mukkePlaylists etc.)
preserved for backward compat. Devlog entries kept as historical.
Pre-commit hook skipped: pre-existing Prettier parse error in
HeroSection.astro + ESLint OOM on 1900+ files. Changes are pure
search-replace, no logic modifications.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
68 lines
1.9 KiB
YAML
68 lines
1.9 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
# Todo Backend API
|
|
todo-backend:
|
|
build:
|
|
context: ../..
|
|
dockerfile: docker/Dockerfile.hono-server
|
|
args:
|
|
APP: todo
|
|
container_name: todo-backend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3018:3018"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3018
|
|
- DATABASE_URL=${DATABASE_URL}
|
|
- MANA_AUTH_URL=${MANA_AUTH_URL}
|
|
- CORS_ORIGINS=${CORS_ORIGINS}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3018/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
networks:
|
|
- todo-network
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.todo-api.rule=Host(`todo-api.mana.how`)"
|
|
- "traefik.http.routers.todo-api.tls=true"
|
|
- "traefik.http.routers.todo-api.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.todo-api.loadbalancer.server.port=3018"
|
|
|
|
# Todo Web App (SvelteKit with Node adapter)
|
|
todo-web:
|
|
build:
|
|
context: ../..
|
|
dockerfile: apps/todo/apps/web/Dockerfile
|
|
container_name: todo-web
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5188:5188"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=5188
|
|
- PUBLIC_BACKEND_URL=${PUBLIC_BACKEND_URL}
|
|
- PUBLIC_MANA_AUTH_URL=${PUBLIC_MANA_AUTH_URL}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5188"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
networks:
|
|
- todo-network
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.todo-web.rule=Host(`todo.mana.how`)"
|
|
- "traefik.http.routers.todo-web.tls=true"
|
|
- "traefik.http.routers.todo-web.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.todo-web.loadbalancer.server.port=5188"
|
|
|
|
networks:
|
|
todo-network:
|
|
external: true
|
|
name: mana-network
|