Skip to main content

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.

Try it Yourself

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

ResourceDetails
Appdolibarr/dolibarr:latest image
DatabaseMySQL (auto-provisioned)
DomainFree *.hostim.dev subdomain
SSLLet’s Encrypt (auto-enabled)
Port80
DefaultsUsername: admin, Password: admin

How to Deploy

  1. Go to your Hostim.dev dashboard.
  2. Click Create ProjectUse a Template.
  3. Select Dolibarr ERP/CRM.
  4. Choose a resource plan.
  5. 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 SetupUsers & 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


Looking for something else? Browse all templates →


Try it now

Deploy Dolibarr Now – in less than 60 seconds