iOS App (complete rebuild): - Audited all fitness API endpoints against live responses - Models match exact API field names (snapshot_ prefixes, UUID strings) - FoodEntry uses computed properties (foodName, calories, etc.) wrapping snapshot fields - Flexible Int/Double decoding for all numeric fields - AI assistant with raw JSON state management (JSONSerialization, not Codable) - Home dashboard with custom background, frosted glass calorie widget - Fitness: Today/Templates/Goals/Foods tabs - Food search with recent + all sections - Meal sections with colored accent bars, swipe to delete - 120fps ProMotion, iOS 17+ @Observable Podcast/Media Service: - FastAPI backend for podcast RSS + local audiobook folders - Shows, episodes, playback progress, queue management - RSS feed fetching with feedparser + ETag support - Local folder scanning with mutagen for audio metadata - HTTP Range streaming for local audio files - Playback events logging (play/pause/seek/complete) - Reuses brain's PostgreSQL + Redis - media_ prefixed tables Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
services:
|
|
media-api:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.api
|
|
container_name: media-api
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /media/yusiboyz/Media/Audiobooks:/audiobooks:ro
|
|
environment:
|
|
- DATABASE_URL=postgresql+asyncpg://brain:brain@brain-db:5432/brain
|
|
- REDIS_URL=redis://brain-redis:6379/0
|
|
- LOCAL_AUDIO_PATH=/audiobooks
|
|
- PORT=8400
|
|
- TZ=${TZ:-America/Chicago}
|
|
networks:
|
|
- default
|
|
- pangolin
|
|
- brain
|
|
|
|
media-worker:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.worker
|
|
container_name: media-worker
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /media/yusiboyz/Media/Audiobooks:/audiobooks:ro
|
|
environment:
|
|
- DATABASE_URL=postgresql+asyncpg://brain:brain@brain-db:5432/brain
|
|
- REDIS_URL=redis://brain-redis:6379/0
|
|
- LOCAL_AUDIO_PATH=/audiobooks
|
|
- FEED_FETCH_INTERVAL=1800
|
|
- TZ=${TZ:-America/Chicago}
|
|
networks:
|
|
- default
|
|
- brain
|
|
|
|
networks:
|
|
pangolin:
|
|
external: true
|
|
brain:
|
|
name: brain_default
|
|
external: true
|