배포 아키텍처

Supabase · Railway · Vercel — Docker 없이 운영

레이어

레이어플랫폼구성
DatabaseSupabase Postgres마이그레이션 pnpm db:migrate
APIRailwayapi-gateway + 7 microservices
FrontendsVercelweb-console, landing-site, demo

환경 변수 (프론트)

변수용도
NEXT_PUBLIC_API_URLRailway api-gateway URL
NEXT_PUBLIC_CONSOLE_URLVercel console URL
NEXT_PUBLIC_DEMO_URLDemo site URL
NEXT_PUBLIC_TENANT_ADMIN_URLTenant Admin URL
NEXT_PUBLIC_SUPER_ADMIN_URLSuper Admin URL
NEXT_PUBLIC_DEMO_MODE콘솔 데모 배너 (console)

랜딩 문서의 API 예시 base: https://api-gateway-production-20f8.up.railway.app

Vercel 프로젝트

  • aimon-console — Root: apps/web-console
  • aimon-landing — Root: apps/landing-site
  • aimon-demo — Root: apps/demo-site
  • aimon-super-admin — Root: apps/super-admin
  • aimon-tenant-admin — Root: apps/tenant-admin

일괄 배포: 저장소 루트에서 ./scripts/vercel-sync.ps1

Railway

저장소 루트에서 infra/railway/*.toml scripts/railway-service-commands.md를 참고해 서비스별 build/start 명령을 설정합니다. api-gateway에 microservice URL env를 연결합니다.

상세 절차는 저장소 docs/deploy.md를 참고하세요.