Files
plex-playlist/compose.dev.yml
Cliff Hill b5170cc39a
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 1h34m10s
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Making linters and formatters great.
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
2025-10-29 08:40:56 -04:00

49 lines
997 B
YAML

---
services:
database:
ports:
# Different port to avoid conflicts with local PostgreSQL
- "5433:5432"
backend:
build:
context: .
dockerfile: Dockerfile.backend
environment:
DATABASE_URL: >-
postgresql://plex_user:plex_password@database:5432/plex_playlist
ENVIRONMENT: development
RELOAD: "true"
volumes:
- ./backend:/app
- backend_venv:/app/.venv
ports:
# Different port for development
- "8001:8000"
command:
- "uvicorn"
- "main:app"
- "--host"
- "0.0.0.0"
- "--port"
- "8000"
- "--reload"
frontend:
build:
context: .
dockerfile: Dockerfile.frontend
target: development
volumes:
- ./frontend:/app
- frontend_node_modules:/app/node_modules
ports:
- "5173:5173" # Vite default dev port
environment:
- NODE_ENV=development
volumes:
postgres_data:
backend_venv:
frontend_node_modules: