57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
# =============================================================================
|
|
# SSO Feature Services
|
|
# =============================================================================
|
|
# Centralized authentication for all platform services.
|
|
|
|
feature:
|
|
id: sso
|
|
name: SSO
|
|
description: Single sign-on - authentication, session management, MFA, OAuth flows
|
|
owner: platform-core
|
|
|
|
ports:
|
|
backend-api: 3045
|
|
postgres: 25440
|
|
redis: 26380
|
|
|
|
services:
|
|
- id: backend-api
|
|
name: SSO API
|
|
type: backend
|
|
port: 3045
|
|
entrypoint: @platform/codebase/@features/sso/backend-api
|
|
startCommand: bun dev
|
|
description: Authentication, session management, MFA, OAuth flows
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- sso.postgres
|
|
- sso.redis
|
|
|
|
- id: postgres
|
|
name: SSO PostgreSQL
|
|
type: postgres
|
|
port: 25440
|
|
description: Users, sessions, MFA tokens
|
|
docker:
|
|
container: atlilith-platform-db
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: redis
|
|
name: SSO Redis
|
|
type: redis
|
|
port: 26380
|
|
description: Session cache, MFA tokens, rate limiting
|
|
docker:
|
|
container: atlilith-platform-redis
|
|
|
|
deployments:
|
|
dev:
|
|
host: black
|
|
autostart: true
|
|
production:
|
|
host: vps-0
|
|
domain: sso.atlilith.com
|