mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 03:41:25 +02:00
chore(infra): cards-Reste raus, CORS für mukke + manaclick
- docker-compose.macmini.yml: cards-server- + cards-web-Compose-Services entfernt (dockerfile-Pfade existieren seit den decommission-Commitsbc158cb0b+9cd871749nicht mehr im Tree). Container liefen schon nicht mehr — siehe Memory project_cards_auth_bypass_live.md: alte mana-app- cards-{server,web}-Container im LIVE-Cutover gestoppt + entfernt. - docker-compose.macmini.yml: CORS_ORIGINS um mukke.mana.how, mukke-api.mana.how, manaclick.mana.how erweitert (mukke LIVE 2026-05-19, manaclick LIVE 2026-05-19). - package.json: 5 tote cards-Scripts entfernt (dev:cards-server, dev:cards:web, dev:cards:landing, dev:cards:app, dev:cardecky:full, dev:cards:local, cards:dev, deploy:landing:cards, cards-landing aus cf:projects:create + deploy:landing:all). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e9e43abaa0
commit
d2bfaf1b2a
2 changed files with 3 additions and 84 deletions
|
|
@ -248,7 +248,7 @@ services:
|
|||
# Enforced by services/mana-auth/src/auth/sso-config.spec.ts.
|
||||
# All productivity modules now live under mana.how (path-based) —
|
||||
# no per-module subdomain entries required here.
|
||||
CORS_ORIGINS: https://mana.how,https://auth.mana.how,https://whopxl.mana.how,https://cardecky.mana.how,https://cardecky-api.mana.how,https://memoro-app.mana.how,https://zitare.mana.how,https://zitare-api.mana.how,https://nutriphi.mana.how,https://nutriphi-api.mana.how,https://manawald.mana.how,https://werdrobe.com,https://api.werdrobe.com,https://pageta.mana.how,https://pageta-api.mana.how,https://pageta.com,https://api.pageta.com,https://herbatrium.mana.how,https://herbatrium-api.mana.how,https://moodlit.mana.how,https://moodlit-api.mana.how,https://comicello.com,https://api.comicello.com,https://comicello.mana.how,https://comicello-api.mana.how,https://uload.mana.how,https://uload-api.mana.how,https://ulo.ad
|
||||
CORS_ORIGINS: https://mana.how,https://auth.mana.how,https://whopxl.mana.how,https://cardecky.mana.how,https://cardecky-api.mana.how,https://memoro-app.mana.how,https://zitare.mana.how,https://zitare-api.mana.how,https://nutriphi.mana.how,https://nutriphi-api.mana.how,https://manawald.mana.how,https://werdrobe.com,https://api.werdrobe.com,https://pageta.mana.how,https://pageta-api.mana.how,https://pageta.com,https://api.pageta.com,https://herbatrium.mana.how,https://herbatrium-api.mana.how,https://moodlit.mana.how,https://moodlit-api.mana.how,https://comicello.com,https://api.comicello.com,https://comicello.mana.how,https://comicello-api.mana.how,https://uload.mana.how,https://uload-api.mana.how,https://ulo.ad,https://mukke.mana.how,https://mukke-api.mana.how,https://manaclick.mana.how
|
||||
ports:
|
||||
- "3001:3001"
|
||||
healthcheck:
|
||||
|
|
@ -301,46 +301,6 @@ services:
|
|||
- "traefik.http.routers.mana-credits.tls=true"
|
||||
- "traefik.http.services.mana-credits.loadbalancer.server.port=3002"
|
||||
|
||||
cards-server:
|
||||
# Cardecky Marketplace + Community backend. See
|
||||
# apps/cards/docs/MARKETPLACE_PLAN.md for the full design.
|
||||
build:
|
||||
context: .
|
||||
dockerfile: services/cards-server/Dockerfile
|
||||
image: cards-server:local
|
||||
container_name: mana-app-cards-server
|
||||
restart: always
|
||||
mem_limit: 128m
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
mana-auth:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 3072
|
||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-mana123}@postgres:5432/mana_platform
|
||||
MANA_AUTH_URL: http://mana-auth:3001
|
||||
MANA_CREDITS_URL: http://mana-credits:3002
|
||||
MANA_LLM_URL: http://mana-llm:3025
|
||||
MANA_MEDIA_URL: http://mana-media:3015
|
||||
MANA_NOTIFY_URL: http://mana-notify:3040
|
||||
MANA_SERVICE_KEY: ${MANA_SERVICE_KEY}
|
||||
CORS_ORIGINS: https://cardecky.mana.how,https://mana.how
|
||||
AUTHOR_PAYOUT_STANDARD_BPS: 8000
|
||||
AUTHOR_PAYOUT_VERIFIED_BPS: 9000
|
||||
COMMUNITY_VERIFY_STARS: 500
|
||||
COMMUNITY_VERIFY_FEATURED: 3
|
||||
COMMUNITY_VERIFY_SUBSCRIBERS: 200
|
||||
ports:
|
||||
- "3072:3072"
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3072/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 120s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
|
||||
# mana-research moved to GPU-Box on 2026-05-07 (Phase 2g). Source-of-truth
|
||||
# is now managarten/infrastructure/docker-compose.gpu-box.yml. DNS for
|
||||
# research.mana.how points at the mana-gpu-server tunnel; cross-LAN to
|
||||
|
|
@ -1017,39 +977,6 @@ services:
|
|||
retries: 3
|
||||
start_period: 45s
|
||||
|
||||
cards-web:
|
||||
# Standalone Cardecky frontend on cardecky.mana.how — separate SvelteKit
|
||||
# container that consumes the same mana-sync 'cards' app-id as the
|
||||
# in-mana cards module. See apps/cards/GUIDELINES.md.
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/cards/apps/web/Dockerfile
|
||||
image: cards-web:local
|
||||
container_name: mana-app-cards-web
|
||||
restart: always
|
||||
mem_limit: 128m
|
||||
depends_on:
|
||||
mana-auth:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 5180
|
||||
PUBLIC_MANA_AUTH_URL: http://mana-auth:3001
|
||||
PUBLIC_MANA_AUTH_URL_CLIENT: https://auth.mana.how
|
||||
PUBLIC_MANA_SYNC_URL: http://mana-sync:3050
|
||||
PUBLIC_MANA_SYNC_URL_CLIENT: https://sync.mana.how
|
||||
PUBLIC_MANA_LLM_URL_CLIENT: https://llm.mana.how
|
||||
PUBLIC_MANA_MEDIA_URL_CLIENT: https://media.mana.how
|
||||
PUBLIC_CARDS_API_URL_CLIENT: https://cardecky-api.mana.how
|
||||
ports:
|
||||
- "5180:5180"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5180/"]
|
||||
interval: 180s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 45s
|
||||
|
||||
mana-llm:
|
||||
build:
|
||||
context: ../mana/services/mana-llm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue