Some checks failed
Tests / Build and Push CICD Image (push) Successful in 46m47s
Tests / End of File Check (push) Successful in 27s
Tests / Mixed Line Ending Check (push) Successful in 28s
Tests / TOML Formatting Check (push) Failing after 26s
Tests / Ruff Linting (push) Failing after 23s
Tests / Ruff Format Check (push) Successful in 25s
Tests / Pyright Type Check (push) Failing after 1m0s
Tests / Darglint Docstring Check (push) Successful in 27s
Tests / No Docstring Types Check (push) Successful in 22s
Tests / ESLint Check (push) Successful in 54s
Tests / Prettier Format Check (push) Successful in 30s
Tests / TypeScript Type Check (push) Successful in 1m5s
Tests / Trailing Whitespace Check (push) Failing after 7m54s
Tests / Backend Tests (push) Failing after 1m6s
Tests / TSDoc Lint Check (push) Successful in 56s
Tests / Backend Doctests (push) Successful in 28s
Tests / Frontend Tests (push) Failing after 2m12s
Tests / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / TOML Syntax Check (push) Successful in 11m16s
Tests / YAML Syntax Check (push) Failing after 13m32s
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
47 lines
973 B
YAML
47 lines
973 B
YAML
---
|
|
services:
|
|
database:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: plex_playlist
|
|
POSTGRES_USER: plex_user
|
|
POSTGRES_PASSWORD: plex_password
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U plex_user -d plex_playlist"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.backend
|
|
environment:
|
|
DATABASE_URL: >-
|
|
postgresql://plex_user:plex_password@database:5432/plex_playlist
|
|
ENVIRONMENT: production
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
database:
|
|
condition: service_healthy
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.frontend
|
|
target: production
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- backend
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
postgres_data:
|