--- services: database: image: postgres:16-alpine 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: image: ${DEPLOYABLE_BACKEND_IMAGE:-deployable-backend:local} environment: DATABASE_URL: ${DB_URL:-postgresql://plex_user:plex_password@database:5432/plex_playlist} ENVIRONMENT: production depends_on: database: condition: service_healthy