Installation of Dolibaar in Docker and Kubernetes env

Sourabh Dey
3 min readJun 26, 2022

--

Dolibarr is a free, open source, self hosted ERP (Enterprise Resource Planning) and CRM (Client Relationship Management) system. I have covered ERPNext in the past, and people seem to be interested in it, so I wanted to provide information on how to install another ERP / CRM system.

My caveat is this: I do not know much about ERP or CRM as a software suite. I am not an ERP or CRM expoert. I am making this video, so those of you whoa re interested, can get Dolibarr ERP installed and running to test it out and see if you are interested.

Dolibarr has a lot of documentation out there if you have questions about how to do things. They also have a support option and hosted options if you would prefer to pay Dolibarr to help you run the system, and take some of the load off of your infratstructure.

Installation

What you’ll need:

  • Docker-CE installed and running
  • Docker-Compose installed and running
  • About an Hour of time

Current Docker Version and Docker-Compose Version

touch docker-compose.yml

version: “3”

services:
mariadb:
image: mariadb:latest
environment:
MYSQL_USER: dolibarr
MYSQL_PASSWORD: Sup3rS3cre7Pa55w0rd1
MYSQL_ROOT_PASSWORD: Sup3rS3cre7Pa55w0rd1
MYSQL_DATABASE: dolibarr
restart: unless-stopped
volumes:
— ./data/db:/var/lib/mysql:rw

web:
image: tuxgasy/dolibarr
restart: unless-stopped
environment:
DOLI_DB_HOST: mariadb
DOLI_DB_USER: dolibarr
DOLI_DB_PASSWORD: Sup3rS3cre7Pa55w0rd1
DOLI_DB_NAME: dolibarr
DOLI_ADMIN_LOGIN: “doli-admin”
DOLI_ADMIN_PASSWORD: “doli-Admin-01”
DOLI_URL_ROOT: ‘http://0.0.0.0’
PHP_INI_DATE_TIMEZONE: ‘Asia/Kolkata’
ports:
— “8819:80”
links:
— mariadb

Container 1 Logs
Container2 Logs

http://ServerIP:8819

Username: doli-admin

Password: doli-Admin-01

Web Interface Login interface

--

--

Sourabh Dey

Trying To learn as much as possible about different Techonology. About me I am just a normal Boy who lives in terminal