Dolibarr docker-compose generator

Choose the version, the access and your company name: the generator writes the files of a Dolibarr installation with Docker Compose, ready to start, with strong passwords drawn in your browser. Nothing is sent to Dolix or anywhere else.

Your settings

Everything is computed in your browser: nothing is sent, and the passwords are drawn at random on your screen.

What the zip contains

  • docker-compose.yml: MariaDB 11.4, Dolibarr (official image), and a container for scheduled jobs. The port is only open locally, unless you choose the local network.
  • .env: the version, the address, the passwords and keys, with 600 permissions.
  • docker-init.d/mots-de-passe.sql: fixes two flaws of the image’s automatic installation that we observed: passwords stored as unsalted MD5, and a plain-text copy in the database.
  • sauvegarder.sh: backs up the database, documents, external modules and .env, and refuses an incomplete database dump.
  • mettre-a-jour.sh: backs up first, refuses latest, refuses to skip a major version (the image then skips migrations), removes the install.lock file the image requires, then waits for the migration result.

Everything follows the guides Install Dolibarr with Docker Compose and Upgrade Dolibarr on Docker, where each pitfall is explained.

How we checked it

The test bench generates the zip with the same code as this page, unzips it and runs a real installation, on the official images 22.0.5, 23.0.4 and 24.0.1 (24.0.2 uses the same start script as 22.0.5 and 23.0.4, checked on the official repository). Each time: login with the generated password, passwords properly hashed, no plain-text copy, scheduled jobs running, a company name with an apostrophe and a “$” stored as is, complete backup, and latest, a version skip or a downgrade refused. We also ran real upgrades with the script: 22.0.523.0.4 and 23.0.424.0.1, “Migration successful” and login afterwards.

What it does not do

  • It does not provide an HTTPS proxy: with “Internet” access, put Caddy, Traefik or Nginx in front of Dolibarr (see the guide, “Access from the Internet” section).
  • 24.0.3 has no official image on Docker Hub yet (checked on 18/11/2026).
  • PostgreSQL is not offered: the image’s automatic installation does not support it.

A question, a missing setting: support@dolix.fr. Prefer us to install it for you? See the services.