From 3b031cfb9ee023176b8e0fec412017a82209ac18 Mon Sep 17 00:00:00 2001 From: Kristjan Komlosi Date: Sun, 28 Dec 2025 15:43:08 +0100 Subject: [PATCH] test: mount mosquitto.conf read-write to avoid chown/read-only errors --- test/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/docker-compose.yml b/test/docker-compose.yml index 225c3d8..2269634 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -28,7 +28,7 @@ services: volumes: - mosquitto_data:/mosquitto/data - mosquitto_log:/mosquitto/log - - ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro + - ./mosquitto.conf:/mosquitto/config/mosquitto.conf # ensure a password file exists (in the writable data volume) and start mosquitto with our config command: sh -c "mosquitto_passwd -b /mosquitto/data/passwordfile testuser testpass >/dev/null 2>&1 || true; /usr/sbin/mosquitto -c /mosquitto/config/mosquitto.conf" healthcheck: