mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 09:33:05 +01:00
- Bilder beim Extrahieren lokal cachen (data/images/{id}.ext) und über GET /api/history/{id}/image ausliefern; Löschen bei Verlaufseintrag-Entfernung
- history.db in ./data/ Volume verschoben, damit sie Container-Rebuilds überlebt
- yt-dlp Subprocess-Aufrufe auf Windows gefixt: run_in_executor statt asyncio.create_subprocess_exec (SelectorEventLoop-Kompatibilität)
- ./data:/app/data Docker-Volume für persistente Datenhaltung hinzugefügt
16 lines
312 B
YAML
16 lines
312 B
YAML
services:
|
||
rezeptor:
|
||
build: .
|
||
image: rezeptor:latest
|
||
container_name: rezeptor
|
||
restart: unless-stopped
|
||
env_file:
|
||
- .env
|
||
ports:
|
||
- "88:8000"
|
||
volumes:
|
||
- ./tmp:/app/tmp
|
||
- ./data:/app/data
|
||
mem_limit: 512m
|
||
memswap_limit: 512m # No swap – protect SD card
|