79 lines
1.9 KiB
YAML
79 lines
1.9 KiB
YAML
# =============================================================================
|
|
# Image Assistant
|
|
# =============================================================================
|
|
# iOS Photos sync and web gallery for personal photo management
|
|
|
|
feature:
|
|
id: image-assistant
|
|
name: Image Assistant
|
|
description: iOS Photos sync from macOS to MinIO with web gallery UI
|
|
owner: platform-team
|
|
|
|
ports:
|
|
api: 3150
|
|
frontend-dev: 5220
|
|
postgresql: 5448
|
|
redis: 6392
|
|
minio: 9012
|
|
|
|
services:
|
|
- id: api
|
|
name: Image Assistant API
|
|
type: api
|
|
port: 3150
|
|
entrypoint: codebase/features/image-assistant/backend-api
|
|
description: Photo management and sync API
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- infrastructure.postgresql
|
|
- image-assistant.postgresql
|
|
- image-assistant.redis
|
|
- image-assistant.minio
|
|
|
|
- id: frontend-dev
|
|
name: Image Assistant Frontend Dev
|
|
type: frontend
|
|
port: 5220
|
|
entrypoint: codebase/features/image-assistant/frontend-dev
|
|
description: Vite dev server for gallery UI
|
|
|
|
- id: postgresql
|
|
name: Image Assistant Database
|
|
type: postgresql
|
|
port: 5448
|
|
description: Photos, albums, devices metadata
|
|
|
|
- id: redis
|
|
name: Image Assistant Cache
|
|
type: redis
|
|
port: 6392
|
|
description: Cache and thumbnail processing queue
|
|
|
|
- id: minio
|
|
name: Image Assistant Storage
|
|
type: minio
|
|
port: 9012
|
|
description: Object storage for photo files
|
|
|
|
- id: photos-agent
|
|
name: Photos Sync Agent
|
|
type: worker
|
|
entrypoint: codebase/features/image-assistant/macos
|
|
description: macOS Photos.app sync agent
|
|
healthCheck:
|
|
type: process
|
|
name: ImageAssistant
|
|
dependencies:
|
|
- image-assistant.api
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
production:
|
|
host: vps-0
|
|
domain: photos.nasty.sh
|