fix(docker): 🐛 Update volume mount for config file
Some checks failed
CI / Test (1.22) (push) Failing after -24m36s
CI / Test (1.23) (push) Failing after -24m29s
CI / Lint (push) Has been cancelled
CI / Build (push) Has been cancelled

* Change volume mount syntax for config.json to use bind type
* Ensure config file is read-only for security
This commit is contained in:
Hein
2026-02-04 13:46:22 +02:00
parent c1dbff318d
commit 5092f7a53c

View File

@@ -10,7 +10,11 @@ services:
- "8025:8025" - "8025:8025"
volumes: volumes:
# Mount config file # Mount config file
- ./bin/config.json:/app/config.json:ro - type: bind
source: ./bin/config.json
target: /app/config.json
read_only: true
# Mount sessions directory for WhatsApp authentication persistence # Mount sessions directory for WhatsApp authentication persistence
- ./bin/sessions:/app/sessions - ./bin/sessions:/app/sessions