From 225972b8d063025d0cc37ff02c8c3aad33a9c303 Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Thu, 23 Apr 2026 12:48:18 +0300 Subject: [PATCH] chore(07-02): update entrypoint.sh to document YAML config - Add comments about D-06 load order and YAML config path - Add warning if backend.yaml is missing - Remove any implied inventory.env dependencies --- backend/entrypoint.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index 307fe9fe..36168afe 100755 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -19,6 +19,13 @@ echo "🐳 [Docker] LOGS_DIR=${LOGS_DIR:-/app/logs}" export DATA_DIR="${DATA_DIR:-/app/data}" export LOGS_DIR="${LOGS_DIR:-/app/logs}" +# [D-06] Configuration - Config is loaded from /app/config/ (YAML format) +# System environment variables override YAML config (D-06 load order). +# No inventory.env fallback is used by the backend application. +if [ ! -f "/app/config/backend.yaml" ]; then + echo "⚠️ [Docker] WARNING: /app/config/backend.yaml not found! Using defaults." +fi + # Run shared first-run initialization echo "🐳 [Docker] Running data initialization..." bash /app/scripts/init_data.sh