fix: docker-compose.yml – volumes über Env-Variablen konfigurierbar

This commit is contained in:
Andre
2026-04-15 16:21:52 +02:00
parent 48f71724e5
commit 339b0d176e
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -4,5 +4,11 @@ TANDOOR_BASE_URL=http://localhost:8080
TANDOOR_API_TOKEN=
APP_HOST=0.0.0.0
APP_PORT=8000
# Host-Pfade für Docker Volumes (relativ zum Repo-Ordner, z.B. /home/pi/rezept0r/tmp)
# Für andere Deployments anpassen, z.B. /volume1/docker/rezept0r/tmp
REZEPTOR_TMP_DIR=./tmp
REZEPTOR_DATA_DIR=./data
TMP_DIR=/app/tmp
# FFMPEG_LOCATION nur unter Windows notwendig
FFMPEG_LOCATION=C:\Users\andre\AppData\Local\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\ffmpeg-8.0.1-full_build\bin
IMAGES_DIR=./data/images
+2 -2
View File
@@ -10,7 +10,7 @@ services:
ports:
- "88:8000"
volumes:
- /volume1/docker/rezept0r/tmp:/app/tmp
- /volume1/docker/rezept0r/data:/app/data
- ${REZEPTOR_TMP_DIR:-./tmp}:/app/tmp
- ${REZEPTOR_DATA_DIR:-./data}:/app/data
mem_limit: 512m
memswap_limit: 512m # No swap – protect SD card