deploy(compose): volume uploads in sola lettura nel container vision (#38)

Il worker di visione legge le immagini di riferimento già caricate dal
server, non le scrive. Montato :ro su entrambi i compose (prod e dev).
GIF/WebP animati nelle miniature: MANCA, decisione di prodotto.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-21 22:35:44 +02:00
parent 7a21ec4e44
commit 10261b66f0
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -58,6 +58,8 @@ services:
VISION_ENGINE_VERSION: ${VISION_ENGINE_VERSION:-} VISION_ENGINE_VERSION: ${VISION_ENGINE_VERSION:-}
container_name: tmflow-vision container_name: tmflow-vision
restart: unless-stopped restart: unless-stopped
volumes:
- upload_data:/app/uploads:ro
healthcheck: healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8100/health', timeout=5)"] test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8100/health', timeout=5)"]
interval: 30s interval: 30s
+2
View File
@@ -69,6 +69,8 @@ services:
VISION_ENGINE_VERSION: ${VISION_ENGINE_VERSION:-} VISION_ENGINE_VERSION: ${VISION_ENGINE_VERSION:-}
container_name: tmflow-vision container_name: tmflow-vision
restart: unless-stopped restart: unless-stopped
volumes:
- upload_data:/app/uploads:ro
healthcheck: healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8100/health', timeout=5)"] test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8100/health', timeout=5)"]
interval: 30s interval: 30s