2026-07-13 11:16:16 -04:00
|
|
|
---
|
|
|
|
|
services:
|
|
|
|
|
database:
|
2026-07-19 22:43:21 -04:00
|
|
|
image: postgres:18-alpine
|
2026-07-13 11:16:16 -04:00
|
|
|
environment:
|
|
|
|
|
POSTGRES_DB: plex_playlist
|
|
|
|
|
POSTGRES_USER: plex_user
|
|
|
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD:-plex_password}
|
|
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U plex_user -d plex_playlist"]
|
|
|
|
|
interval: 5s
|
|
|
|
|
timeout: 3s
|
|
|
|
|
retries: 12
|
|
|
|
|
|
|
|
|
|
backend:
|
2026-07-20 20:44:58 -04:00
|
|
|
image: ${DEPLOYABLE_BACKEND_IMAGE:-plex-playlist-backend:local}
|
2026-07-13 11:16:16 -04:00
|
|
|
environment:
|
|
|
|
|
DATABASE_URL: ${DB_URL:-postgresql://plex_user:plex_password@database:5432/plex_playlist}
|
|
|
|
|
ENVIRONMENT: production
|
|
|
|
|
depends_on:
|
|
|
|
|
database:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
|
|
|
|
|
frontend:
|
2026-07-20 20:44:58 -04:00
|
|
|
image: ${DEPLOYABLE_FRONTEND_IMAGE:-plex-playlist-frontend:local}
|
2026-07-13 11:16:16 -04:00
|
|
|
depends_on:
|
|
|
|
|
backend:
|
|
|
|
|
condition: service_started
|