diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index b616ba70a..95dd0e339 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -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 diff --git a/package.json b/package.json index 13cf2776d..fcaca879e 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,6 @@ "build:packages": "pnpm --filter './packages/*' build", "postinstall": "node scripts/generate-env.mjs && pnpm run build:packages", "mana:dev": "turbo run dev --filter=mana...", - "cards:dev": "turbo run dev --filter=cards...", "picture:dev": "turbo run dev --filter=picture...", "chat:dev": "turbo run dev --filter=chat...", "dev:mana:web": "pnpm --filter @mana/web dev", @@ -66,11 +65,6 @@ "dev:mana:app": "pnpm --filter @mana/web dev", "dev:mana:full": "concurrently -n web,servers -c cyan,yellow \"pnpm dev:mana:web\" \"pnpm dev:mana:servers\"", "dev:mana:all": "pnpm docker:up && pnpm setup:db && pnpm dev:mana:full", - "dev:cards:web": "pnpm --filter @cards/web dev", - "dev:cards:landing": "pnpm --filter @cards/landing dev", - "dev:cards:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:cards:web\"", - "dev:cards-server": "cd services/cards-server && bun run --hot src/index.ts", - "dev:cardecky:full": "concurrently -n auth,sync,credits,notify,server,web -c blue,magenta,green,gray,yellow,cyan \"pnpm dev:auth\" \"pnpm dev:sync\" \"pnpm dev:credits\" \"pnpm dev:notify\" \"pnpm dev:cards-server\" \"pnpm dev:cards:web\"", "dev:picture:web": "pnpm --filter @picture/web dev", "dev:picture:landing": "pnpm --filter @picture/landing dev", "dev:picture:app": "concurrently -n api,web -c yellow,cyan \"pnpm dev:api\" \"pnpm dev:picture:web\"", @@ -190,19 +184,18 @@ "deploy:landing:chat": "pnpm --filter @chat/landing build && npx wrangler pages deploy apps/chat/apps/landing/dist --project-name=chat-landing", "deploy:landing:picture": "pnpm --filter @picture/landing build && npx wrangler pages deploy apps/picture/apps/landing/dist --project-name=picture-landing", "deploy:landing:mana": "pnpm --filter @mana/landing build && npx wrangler pages deploy apps/mana/apps/landing/dist --project-name=mana-landing", - "deploy:landing:cards": "pnpm --filter @cards/landing build && npx wrangler pages deploy apps/cards/apps/landing/dist --project-name=cards-landing", "deploy:landing:quotes": "pnpm --filter @quotes/landing build && npx wrangler pages deploy apps/quotes/apps/landing/dist --project-name=quotes-landing", "deploy:landing:presi": "pnpm --filter @presi/landing build && npx wrangler pages deploy apps/presi/apps/landing/dist --project-name=presi-landing", "deploy:landing:mail": "pnpm --filter @mail/landing build && npx wrangler pages deploy apps/mail/apps/landing/dist --project-name=mail-landing", "deploy:landing:moodlit": "pnpm --filter @moodlit/landing build && npx wrangler pages deploy apps/moodlit/apps/landing/dist --project-name=moodlit-landing", "deploy:landing:it": "pnpm --filter @mana/it-landing build && npx wrangler pages deploy services/it-landing/dist --project-name=it-landing", - "deploy:landing:all": "pnpm deploy:landing:calendar && pnpm deploy:landing:chat && pnpm deploy:landing:picture && pnpm deploy:landing:mana && pnpm deploy:landing:cards && pnpm deploy:landing:quotes && pnpm deploy:landing:presi && pnpm deploy:landing:mail && pnpm deploy:landing:contacts && pnpm deploy:landing:todo", + "deploy:landing:all": "pnpm deploy:landing:calendar && pnpm deploy:landing:chat && pnpm deploy:landing:picture && pnpm deploy:landing:mana && pnpm deploy:landing:quotes && pnpm deploy:landing:presi && pnpm deploy:landing:mail && pnpm deploy:landing:contacts && pnpm deploy:landing:todo", "dev:docs": "pnpm --filter @mana/docs dev", "build:docs": "pnpm --filter @mana/docs build", "deploy:docs": "pnpm --filter @mana/docs build && npx wrangler pages deploy apps/docs/dist --project-name=mana-docs", "cf:login": "npx wrangler login", "cf:projects:list": "npx wrangler pages project list", - "cf:projects:create": "echo 'Creating Cloudflare Pages projects...' && npx wrangler pages project create chat-landing --production-branch=main && npx wrangler pages project create picture-landing --production-branch=main && npx wrangler pages project create mana-landing --production-branch=main && npx wrangler pages project create cards-landing --production-branch=main && npx wrangler pages project create quotes-landing --production-branch=main", + "cf:projects:create": "echo 'Creating Cloudflare Pages projects...' && npx wrangler pages project create chat-landing --production-branch=main && npx wrangler pages project create picture-landing --production-branch=main && npx wrangler pages project create mana-landing --production-branch=main && npx wrangler pages project create quotes-landing --production-branch=main", "dev:search": "cd services/mana-search && PORT=3021 SEARXNG_URL=http://localhost:8080 REDIS_HOST=localhost REDIS_PORT=6379 REDIS_PASSWORD=${REDIS_PASSWORD:-devpassword} go run ./cmd/server", "dev:crawler": "cd services/mana-crawler && go run ./cmd/server", "dev:credits": "cd ../mana/services/mana-credits && bun run --hot src/index.ts", @@ -221,7 +214,6 @@ "dev:calendar:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", "dev:chat:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", "dev:contacts:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", - "dev:cards:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", "dev:music:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", "dev:picture:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"", "dev:questions:local": "concurrently -n sync,api -c magenta,yellow \"pnpm dev:sync\" \"pnpm dev:api\"",