배포 아키텍처
Supabase · Railway · Vercel — Docker 없이 운영
레이어
| 레이어 | 플랫폼 | 구성 |
|---|---|---|
| Database | Supabase Postgres | 마이그레이션 pnpm db:migrate |
| API | Railway | api-gateway + 7 microservices |
| Frontends | Vercel | web-console, landing-site, demo |
환경 변수 (프론트)
| 변수 | 용도 |
|---|---|
| NEXT_PUBLIC_API_URL | Railway api-gateway URL |
| NEXT_PUBLIC_CONSOLE_URL | Vercel console URL |
| NEXT_PUBLIC_DEMO_URL | Demo site URL |
| NEXT_PUBLIC_TENANT_ADMIN_URL | Tenant Admin URL |
| NEXT_PUBLIC_SUPER_ADMIN_URL | Super 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를 참고하세요.