From 94abf1d491624ae531410bf1167359e1b7d7c234 Mon Sep 17 00:00:00 2001 From: tinkle-community Date: Tue, 9 Dec 2025 20:34:48 +0800 Subject: [PATCH] fix: remove problematic volume mount that caused 502 error The ./data:/app mount was overwriting the entire /app directory including application binaries, causing the backend to fail. --- docker-compose.prod.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 919962e3..5cd41beb 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -17,6 +17,7 @@ services: ports: - "${NOFX_BACKEND_PORT:-8080}:8080" volumes: + # Data directory for database (new images use data/data.db) - ./data:/app/data - ./decision_logs:/app/decision_logs - /etc/localtime:/etc/localtime:ro