
Deploy Dolibarr on Your Own Server
Open Source ERP & CRM for Business (SME or large companies, freelancers, foundations)
Want to deploy Dolibarr on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Dolibarr?
Dolibarr is an Open Source ERP & CRM for Business
Self-Host Dolibarr
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
dolibarr:
image: upshift/dolibarr:${dolibarr}-version
environment:
DOLI_ADMIN_LOGIN: ${admin}-login
DOLI_ADMIN_PASSWORD: ${admin}-pass
DOLI_DB_HOST: dolibarr-db
DOLI_DB_NAME: dolibarr
DOLI_DB_PASSWORD: ${pg}-pass
DOLI_DB_PORT: "5432"
DOLI_DB_ROOT_LOGIN: dolibarr
DOLI_DB_ROOT_PASSWOORD: ${pg}-pass
DOLI_DB_TYPE: pgsql
DOLI_DB_USER: dolibarr
DOLI_URL_ROOT: http://dolibarr.your-domain.com
volumes:
- dolibarr-html:/var/www/html
- dolibarr-docs:/var/www/documents
depends_on:
- dolibarr-db
dolibarr-db:
image: postgres:${postgres}-version
environment:
POSTGRES_DB: dolibarr
POSTGRES_PASSWORD: ${pg}-pass
POSTGRES_USER: dolibarr
volumes:
- dolibarr-db:/var/lib/postgresql/data
volumes:
dolibarr-html: {}
dolibarr-docs: {}
dolibarr-db: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host Dolibarr?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
upshift/dolibarr:${dolibarr}-versionOfficial Docs
hub.docker.comWant to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"