mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
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:
@@ -20,9 +20,9 @@ services:
|
||||
# USB device mapping for all USB devices
|
||||
devices:
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
# volumes:
|
||||
# Persist data directory
|
||||
# - ./data:/app/data
|
||||
volumes:
|
||||
# Persist decoded images and database across container rebuilds
|
||||
- ./data:/app/data
|
||||
# Optional: mount logs directory
|
||||
# - ./logs:/app/logs
|
||||
environment:
|
||||
@@ -67,6 +67,8 @@ services:
|
||||
# USB device mapping for all USB devices
|
||||
devices:
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
- INTERCEPT_HOST=0.0.0.0
|
||||
- INTERCEPT_PORT=5050
|
||||
|
||||
Reference in New Issue
Block a user