Levelrail
Skip to content

Self-host Dolibarr with Docker ​

An open-source ERP and CRM for small businesses: invoicing, contacts, stock, and accounting in one app.

This page describes the Levelrail template for Dolibarr (Finance). It deploys the services below as one Docker Compose app on your own server.

Project site: https://wiki.dolibarr.org.

Recommended memory: about 768 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbmariadb:11none
dolibarr_db_data -> /var/lib/mysql
dolibarrdolibarr/dolibarr:23.0.480
dolibarr_documents -> /var/www/documents
dolibarr_custom -> /var/www/html/custom

Environment variables ​

ServiceVariableValue
dbMARIADB_DATABASEPreset in the template
dbMARIADB_PASSWORDGenerated at deploy
dbMARIADB_ROOT_PASSWORDGenerated at deploy
dbMARIADB_USERPreset in the template
dolibarrDOLI_ADMIN_LOGINPreset in the template
dolibarrDOLI_ADMIN_PASSWORDGenerated at deploy
dolibarrDOLI_DB_HOSTPreset in the template
dolibarrDOLI_DB_NAMEPreset in the template
dolibarrDOLI_DB_PASSWORDGenerated at deploy
dolibarrDOLI_DB_USERPreset in the template
dolibarrDOLI_URL_ROOTPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Dolibarr with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Dolibarr. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy dolibarr --name my-dolibarr

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Finance templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.