axhub.yaml 레퍼런스

프로젝트 루트의 axhub.yaml 전체 스펙.

Phase 7에서 전체 필드 표로 확장 예정. 현재는 최소 예시만 제공합니다.

최소 예시

axhub.yaml
name: hello-ax
runtime: node-20
build:
  command: pnpm build
  output: .next
deploy:
  region: ap-northeast-2
  min_instances: 1
  max_instances: 10
env:
  - name: DATABASE_URL
    from_secret: prod-db-url

최상위 필드

  • name — 앱 식별자 (DNS-safe)
  • runtimenode-20 · bun-1 · python-3.12 · go-1.23
  • build — 빌드 명령과 산출 디렉토리
  • deploy — 리전·오토스케일·canary 설정
  • gateway — API 게이트웨이 규칙 (인증·레이트 리밋)
  • env — 환경변수·Secret Manager 바인딩