fix(docker): 🐛 Update volume mount for config file
* Change volume mount syntax for config.json to use bind type * Ensure config file is read-only for security
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user