mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 15:43:04 +01:00
fix: docker-compose.yml – volumes über Env-Variablen konfigurierbar
This commit is contained in:
@@ -4,5 +4,11 @@ TANDOOR_BASE_URL=http://localhost:8080
|
|||||||
TANDOOR_API_TOKEN=
|
TANDOOR_API_TOKEN=
|
||||||
APP_HOST=0.0.0.0
|
APP_HOST=0.0.0.0
|
||||||
APP_PORT=8000
|
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
|
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
|
IMAGES_DIR=./data/images
|
||||||
|
|||||||
+2
-2
@@ -10,7 +10,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "88:8000"
|
- "88:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- /volume1/docker/rezept0r/tmp:/app/tmp
|
- ${REZEPTOR_TMP_DIR:-./tmp}:/app/tmp
|
||||||
- /volume1/docker/rezept0r/data:/app/data
|
- ${REZEPTOR_DATA_DIR:-./data}:/app/data
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
memswap_limit: 512m # No swap – protect SD card
|
memswap_limit: 512m # No swap – protect SD card
|
||||||
|
|||||||
Reference in New Issue
Block a user