Phase 2: Docker and OIDC auth

This commit is contained in:
2026-05-04 13:50:53 +02:00
parent 47baee854b
commit 4226628d5a
71 changed files with 9722 additions and 1347 deletions
+38
View File
@@ -0,0 +1,38 @@
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: backend
command: uvicorn media_library_viewer_api.main:app --host 0.0.0.0 --port 8000 --reload
env_file:
- .env
environment:
AUTH_ENABLED: "false"
ports:
- "8000:8000"
volumes:
- ./backend:/app/backend
restart: unless-stopped
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
target: dev
container_name: frontend
environment:
VITE_API_URL: "/api"
VITE_OIDC_ENABLED: "false"
VITE_DEV_API_PROXY_TARGET: "http://backend:8000"
ports:
- "5173:5173"
volumes:
- ./frontend:/app/frontend
- frontend_node_modules:/app/frontend/node_modules
depends_on:
- backend
restart: unless-stopped
volumes:
frontend_node_modules: