mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-25 23:54:37 +02:00
feat(citycorners): add city guide app for Konstanz with full monorepo integration
New project with three apps: - Landing (Astro): static site with SVG illustrations, location data - Backend (NestJS, port 3025): CRUD API for locations + favorites, Drizzle ORM, auth via mana-core-auth - Web (SvelteKit, port 5196): Tailwind 4, PillNav, auth (login/register/SSO), Leaflet map, favorites with optimistic updates, theme/settings Infrastructure: DB init SQL, setup-databases.sh, generate-env.mjs, root package.json scripts, Dockerfiles, docker-compose.macmini.yml (backend:3025, web:5022), Cloudflare wrangler.toml. Branding: registered in shared-branding (AppId, APP_BRANDING, APP_ICONS, MANA_APPS, CitycornersLogo). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cf37d92633
commit
1c5c2446f6
83 changed files with 3663 additions and 3 deletions
|
|
@ -717,6 +717,35 @@ services:
|
|||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
citycorners-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/citycorners/apps/backend/Dockerfile
|
||||
image: citycorners-backend:local
|
||||
container_name: mana-app-citycorners-backend
|
||||
restart: always
|
||||
depends_on:
|
||||
mana-auth:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 3025
|
||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/citycorners
|
||||
DB_HOST: postgres
|
||||
DB_PORT: 5432
|
||||
DB_USER: postgres
|
||||
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
CORS_ORIGINS: https://citycorners.mana.how,https://mana.how
|
||||
ADMIN_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
||||
ports:
|
||||
- "3025:3025"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3025/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
# ============================================
|
||||
# Tier 4: Matrix Stack (Ports 4000-4099)
|
||||
# ============================================
|
||||
|
|
@ -1611,6 +1640,35 @@ services:
|
|||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
citycorners-web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/citycorners/apps/web/Dockerfile
|
||||
args:
|
||||
PUBLIC_BACKEND_URL: http://citycorners-backend:3025
|
||||
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
image: citycorners-web:local
|
||||
container_name: mana-app-citycorners-web
|
||||
restart: always
|
||||
depends_on:
|
||||
citycorners-backend:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 5022
|
||||
PUBLIC_BACKEND_URL: http://citycorners-backend:3025
|
||||
PUBLIC_MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
PUBLIC_CITYCORNERS_API_URL_CLIENT: https://citycorners-api.mana.how
|
||||
PUBLIC_MANA_CORE_AUTH_URL_CLIENT: https://auth.mana.how
|
||||
ports:
|
||||
- "5022:5022"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5022/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
picture-backend:
|
||||
build:
|
||||
context: .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue