Initial commit.

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2025-10-18 09:14:10 -04:00
commit 9c4a8d96bc
12 changed files with 570 additions and 0 deletions

37
compose.dev.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
database:
ports:
- "5433:5432" # Different port to avoid conflicts with local PostgreSQL
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:
- "8001:8000" # Different port for development
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: