This commit is contained in:
2026-06-10 11:19:39 +02:00
parent 90e5f61b91
commit aaa9365e81
11 changed files with 392 additions and 20 deletions
+11 -7
View File
@@ -3,9 +3,9 @@ services:
image: postgres:16
container_name: rezept_finder_postgres
environment:
POSTGRES_DB: rezept_finder
POSTGRES_USER: rezept_finder
POSTGRES_PASSWORD: rezept_finder
POSTGRES_DB: ${POSTGRES_DB:-rezept_finder}
POSTGRES_USER: ${POSTGRES_USER:-rezept_finder}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-rezept_finder}
ports:
- "5432:5432"
volumes:
@@ -21,9 +21,11 @@ services:
context: ./backend
container_name: rezept_finder_backend
environment:
DATABASE_URL: postgresql+psycopg2://rezept_finder:rezept_finder@postgres:5432/rezept_finder
FRONTEND_ORIGIN: http://localhost:5173
SECRET_KEY: dev-secret
APP_DOMAIN: ${APP_DOMAIN:-http://localhost:5173}
DATABASE_URL: ${DATABASE_URL:-postgresql+psycopg2://rezept_finder:rezept_finder@postgres:5432/rezept_finder}
FRONTEND_ORIGIN: ${FRONTEND_ORIGIN:-http://localhost:5173}
SECRET_KEY: ${SECRET_KEY:-dev-secret}
SOCKETIO_PATH: ${SOCKETIO_PATH:-/api/socket.io}
ports:
- "5000:5000"
volumes:
@@ -40,7 +42,9 @@ services:
context: ./frontend
container_name: rezept_finder_frontend
environment:
VITE_API_URL: http://localhost:5000
VITE_API_BASE: ${VITE_API_BASE:-/api}
VITE_SOCKET_PATH: ${VITE_SOCKET_PATH:-/api/socket.io}
VITE_DEV_API_TARGET: ${VITE_DEV_API_TARGET:-http://backend:5000}
ports:
- "5173:5173"
volumes: