From c5324d09a87ba59c666bf27c7bded93a9deba47c Mon Sep 17 00:00:00 2001 From: icy Date: Fri, 31 Oct 2025 15:31:47 +0800 Subject: [PATCH] Add config.db volume mapping to docker-compose MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 608fdfd8..b049f95d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: - "${NOFX_BACKEND_PORT:-8080}:8080" volumes: - ./config.json:/app/config.json:ro + - ./config.db:/app/config.db - ./decision_logs:/app/decision_logs - /etc/localtime:/etc/localtime:ro # Sync host time environment: