mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-15 16:56:56 +08:00
Add config.db volume mapping to docker-compose
- Map config.db to host for database persistence - Ensures user configurations, traders, and AI models persist across container restarts - Enables easy backup of configuration database 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: tinkle-community <tinklefund@gmail.com>
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
|||||||
- "${NOFX_BACKEND_PORT:-8080}:8080"
|
- "${NOFX_BACKEND_PORT:-8080}:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/app/config.json:ro
|
- ./config.json:/app/config.json:ro
|
||||||
|
- ./config.db:/app/config.db
|
||||||
- ./decision_logs:/app/decision_logs
|
- ./decision_logs:/app/decision_logs
|
||||||
- /etc/localtime:/etc/localtime:ro # Sync host time
|
- /etc/localtime:/etc/localtime:ro # Sync host time
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user