Live-mount config dir in docker-compose

Mount ./config into the bot container so config.yml / models.yml /
chat_modes.yml changes take effect with a simple restart instead of
a full image rebuild. Addresses #124.
This commit is contained in:
Father Bot
2025-12-22 11:48:17 +03:00
parent 8d9897d580
commit 1bc081d115
+3
View File
@@ -18,6 +18,9 @@ services:
build:
context: "."
dockerfile: Dockerfile
volumes:
# live-mount config so edits apply on restart without rebuilding
- ./config:/code/config
depends_on:
- mongo