From 5092f7a53c3559783ec96539d2f7014161ccb652 Mon Sep 17 00:00:00 2001 From: Hein Date: Wed, 4 Feb 2026 13:46:22 +0200 Subject: [PATCH] =?UTF-8?q?fix(docker):=20=F0=9F=90=9B=20Update=20volume?= =?UTF-8?q?=20mount=20for=20config=20file=20*=20Change=20volume=20mount=20?= =?UTF-8?q?syntax=20for=20config.json=20to=20use=20bind=20type=20*=20Ensur?= =?UTF-8?q?e=20config=20file=20is=20read-only=20for=20security?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9a94c67..6626a7f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,11 @@ services: - "8025:8025" volumes: # 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 - ./bin/sessions:/app/sessions