fix: config.json must be read-write (not :ro) — program writes back to it

This commit is contained in:
2026-08-07 12:59:23 +08:00
parent 3205e984f1
commit 06d2e9a429
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ services:
restart: unless-stopped
user: root
volumes:
- ./config.json:/app/config.json:ro
# config.json must be read-write — the program writes back to it (e.g. flips updateonce to false)
- ./config.json:/app/config.json
- ./telegram_session.session:/app/telegram_session.session
- ./channels:/app/channels
- ./logs:/app/logs