81 lines
1.8 KiB
YAML
81 lines
1.8 KiB
YAML
# =============================================================================
|
|
# Atlilith Admin Deployment
|
|
# =============================================================================
|
|
# Platform administration dashboard
|
|
|
|
deployment:
|
|
id: atlilith.admin
|
|
name: Atlilith Admin
|
|
feature: platform-admin
|
|
domain: admin.atlilith.com
|
|
description: Platform administration dashboard
|
|
|
|
# Orchestration (./run dev:admin)
|
|
orchestration:
|
|
dependencies:
|
|
- atlilith.status
|
|
entryPoints:
|
|
- atlilith.admin.frontend
|
|
docker:
|
|
profiles: [core, platform]
|
|
runSeeds: false
|
|
lifecycle:
|
|
keepAlive: true
|
|
autostart: true
|
|
urls:
|
|
- url: http://admin.atlilith.local/health
|
|
description: Platform Admin API
|
|
|
|
services:
|
|
- id: frontend
|
|
type: frontend
|
|
port: 3200
|
|
entrypoint: codebase/features/platform-admin/frontend-admin
|
|
description: Admin dashboard Vite frontend
|
|
healthCheck:
|
|
type: http
|
|
path: /
|
|
dependencies:
|
|
- api
|
|
- sso.api
|
|
|
|
- id: api
|
|
type: api
|
|
port: 3011
|
|
entrypoint: codebase/features/platform-admin/backend-api
|
|
description: Platform admin API - service monitoring, configuration
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- sso.api
|
|
- postgresql
|
|
- atlilith.www.api
|
|
- merchant.api
|
|
|
|
- id: postgresql
|
|
type: postgresql
|
|
port: 25435
|
|
description: Platform admin database (shared with i18n)
|
|
healthCheck:
|
|
type: tcp
|
|
|
|
# Routing rules (nginx generation)
|
|
routing:
|
|
- path: /api/
|
|
service: api
|
|
type: api
|
|
- path: /
|
|
service: frontend
|
|
type: frontend
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
domain: admin.atlilith.local
|
|
staging:
|
|
host: black
|
|
domain: admin.next.atlilith.com
|
|
production:
|
|
host: vps-0
|
|
domain: admin.atlilith.com
|