Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: add persistent storage for Dolibarr documents and custom modules

nikubec640c98cfb6e
diff --git a/templates/compose/dolibarr.yaml b/templates/compose/dolibarr.yaml
index a5e349052f..0ec07ca328 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