Enable persistent data volume mount for Docker services

Uncomment and enable the ./data:/app/data volume mount on both the
basic and history service profiles. This persists decoded weather
satellite images, the SQLite database, and other data across
container rebuilds. Critical for Docker-only deployments.

https://claude.ai/code/session_01FjLTkyELaqh27U1wEXngFQ
This commit is contained in:
Claude
2026-02-05 21:55:44 +00:00
parent 7b68c19dc5
commit 5e4be0c279
+5 -3
View File
@@ -20,9 +20,9 @@ services:
# USB device mapping for all USB devices # USB device mapping for all USB devices
devices: devices:
- /dev/bus/usb:/dev/bus/usb - /dev/bus/usb:/dev/bus/usb
# volumes: volumes:
# Persist data directory # Persist decoded images and database across container rebuilds
# - ./data:/app/data - ./data:/app/data
# Optional: mount logs directory # Optional: mount logs directory
# - ./logs:/app/logs # - ./logs:/app/logs
environment: environment:
@@ -67,6 +67,8 @@ services:
# USB device mapping for all USB devices # USB device mapping for all USB devices
devices: devices:
- /dev/bus/usb:/dev/bus/usb - /dev/bus/usb:/dev/bus/usb
volumes:
- ./data:/app/data
environment: environment:
- INTERCEPT_HOST=0.0.0.0 - INTERCEPT_HOST=0.0.0.0
- INTERCEPT_PORT=5050 - INTERCEPT_PORT=5050