Deploy Dolibarr ERP/CRM
Before using the one-click template, here is a minimal Docker Compose file for self-hosting Dolibarr.
If you're new to Docker Compose, check out our guide on how to self-host a Docker Compose app. You can also browse more examples in our Docker Compose library.
Self-host Dolibarr with Docker Compose (minimal)
services:
dolibarr:
image: dolibarr/dolibarr:latest
ports:
- "8080:80"
environment:
DOLI_DB_HOST: db
DOLI_DB_NAME: dolibarr
DOLI_DB_USER: dolibarr
DOLI_DB_PASSWORD: dolipassword
volumes:
- doli-data:/var/www/html/documents
db:
image: mysql:8
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: dolibarr
MYSQL_USER: dolibarr
MYSQL_PASSWORD: dolipassword
volumes:
- db-data:/var/lib/mysql
volumes:
doli-data:
db-data:
Deploy Dolibarr ERP/CRM on Hostim.dev (One-Click)
Dolibarr is a modern, open-source ERP and CRM solution covering contacts, invoicing, orders, stock, calendar, HR, and more. With Hostim.dev, you can deploy Dolibarr with Docker, MySQL, persistent storage, and HTTPS — all in under a minute.
📊 Manage your business efficiently with Dolibarr ERP/CRM – no server setup required.
Guest project runs for 1 hour. Log in to save and extend to 5 days.
Why Host Dolibarr on Hostim.dev?
- One-click Docker deployment
- Built-in MySQL
- Automatic HTTPS
- Live logs and metrics
- Persistent storage
What’s included
| Resource | Details |
|---|---|
| App | dolibarr/dolibarr:latest image |
| Database | MySQL (auto-provisioned) |
| Domain | Free *.hostim.dev subdomain |
| SSL | Let’s Encrypt (auto-enabled) |
| Port | 80 |
| Defaults | Username: admin, Password: admin |
How to Deploy
- Go to your Hostim.dev dashboard.
- Click Create Project → Use a Template.
- Select Dolibarr ERP/CRM.
- Choose a resource plan.
- Deploy.
FAQ
Where does Dolibarr store uploaded documents?
The directory /var/www/html/documents contains invoices, attachments,
and module data. It is backed by a persistent volume.
Does Dolibarr require MySQL?
Yes. Dolibarr supports MySQL/MariaDB, and the template auto-provisions MySQL.
How do I back up my Dolibarr instance?
Back up the documents volume and export the MySQL database via the
Bastion host.
How do I change the default admin password?
Log in as admin → go to Setup → Users & Groups and update
your password.
Can I enable modules like invoicing, stock, or HR?
Yes. Activate modules under Home → Setup → Modules/Applications.
Why is Dolibarr not connecting to the database?
Check DOLI_DB_HOST, user, password, and confirm MySQL is healthy.
Does Dolibarr support external authentication?
Yes. Dolibarr supports LDAP, OAuth2, and OpenID Connect.
How do I update Dolibarr?
Docker: docker compose pull && docker compose up -d
Hostim.dev: redeploy the app.
Alternatives
- Odoo Community — extensible ERP suite
- ERPNext — full-featured ERP with accounting and HR
- Snipe-IT — asset management system
Source + Docs
- GitHub: https://github.com/Dolibarr/dolibarr
- Documentation: https://wiki.dolibarr.org
Looking for something else? Browse all templates →