From c640c98cfb6efda2469d772256b7df37c862a9a0 Mon Sep 17 00:00:00 2001 From: nikube Date: Thu, 18 Dec 2025 10:27:24 +0100 Subject: [PATCH] fix: add persistent storage for Dolibarr documents and custom modules --- templates/compose/dolibarr.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/compose/dolibarr.yaml b/templates/compose/dolibarr.yaml index a5e349052..0ec07ca32 100644 --- a/templates/compose/dolibarr.yaml +++ b/templates/compose/dolibarr.yaml @@ -22,6 +22,9 @@ services: - DOLI_CRON=${DOLI_CRON:-0} - DOLI_INIT_DEMO=${DOLI_INIT_DEMO:-0} - DOLI_COMPANY_NAME=${DOLI_COMPANY_NAME:-MyBigCompany} + volumes: + - dolibarr_docs:/var/www/documents + - dolibarr_custom:/var/www/html/custom healthcheck: test: ["CMD", "curl", "-f", "http://127.0.0.1:80"] interval: 2s