39 lines
926 B
YAML
39 lines
926 B
YAML
# =============================================================================
|
|
# Media (Shared Service)
|
|
# =============================================================================
|
|
# File upload, storage, and serving service
|
|
# Single instance serving all deployments
|
|
|
|
deployment:
|
|
id: media
|
|
type: shared
|
|
name: Media Service
|
|
description: File upload, thumbnail generation, media serving
|
|
|
|
services:
|
|
- id: 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:
|
|
- postgresql
|
|
|
|
- id: postgresql
|
|
type: postgresql
|
|
port: 25446
|
|
description: Media file metadata
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
domain: media.next.atlilith.com
|
|
production:
|
|
host: vps-0
|
|
domain: media.atlilith.com
|