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
| Service | Image | Container ports | Volumes |
|---|---|---|---|
db | mariadb:11 | none | dolibarr_db_data -> /var/lib/mysql |
dolibarr | dolibarr/dolibarr:23.0.4 | 80 | dolibarr_documents -> /var/www/documentsdolibarr_custom -> /var/www/html/custom |
Environment variables
| Service | Variable | Value |
|---|---|---|
db | MARIADB_DATABASE | Preset in the template |
db | MARIADB_PASSWORD | Generated at deploy |
db | MARIADB_ROOT_PASSWORD | Generated at deploy |
db | MARIADB_USER | Preset in the template |
dolibarr | DOLI_ADMIN_LOGIN | Preset in the template |
dolibarr | DOLI_ADMIN_PASSWORD | Generated at deploy |
dolibarr | DOLI_DB_HOST | Preset in the template |
dolibarr | DOLI_DB_NAME | Preset in the template |
dolibarr | DOLI_DB_PASSWORD | Generated at deploy |
dolibarr | DOLI_DB_USER | Preset in the template |
dolibarr | DOLI_URL_ROOT | Preset 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-dolibarrSee 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.