43 lines
933 B
YAML
43 lines
933 B
YAML
# =============================================================================
|
|
# Media
|
|
# =============================================================================
|
|
# Media upload, storage, and serving service
|
|
|
|
feature:
|
|
id: media
|
|
name: Media Service
|
|
description: File upload, thumbnail generation, and media serving
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3017
|
|
postgresql: 5446
|
|
|
|
services:
|
|
- id: api
|
|
name: Media API
|
|
type: api
|
|
port: 3017
|
|
entrypoint: codebase/features/media/backend-api
|
|
description: Media upload and serving API
|
|
healthCheck:
|
|
type: http
|
|
path: /api/media/health
|
|
dependencies:
|
|
- infrastructure.postgresql
|
|
- media.postgresql
|
|
|
|
- id: postgresql
|
|
name: Media Database
|
|
type: postgresql
|
|
port: 5446
|
|
description: Media file metadata
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
production:
|
|
host: vps-0
|