2017-07-26 11:41:12 +02:00
|
|
|
# How to use it ?
|
|
|
|
|
|
|
|
|
|
The docker-compose.yml file is used to build and run Dolibarr in the current workspace.
|
2020-08-29 18:31:42 +02:00
|
|
|
This docker image intended for developpement usage.
|
|
|
|
|
For production usage you should consider other contributor reference like https://hub.docker.com/r/tuxgasy/dolibarr
|
2017-07-26 11:41:12 +02:00
|
|
|
|
|
|
|
|
Before build/run, define the variable HOST_USER_ID as following:
|
|
|
|
|
|
|
|
|
|
export HOST_USER_ID=$(id -u)
|
|
|
|
|
|
2017-08-11 19:01:01 +02:00
|
|
|
Go in repository build/docker :
|
|
|
|
|
|
|
|
|
|
cd build/docker
|
|
|
|
|
|
2017-07-26 11:41:12 +02:00
|
|
|
And then, you can run :
|
|
|
|
|
|
|
|
|
|
docker-compose up
|
|
|
|
|
|
2020-10-27 22:49:20 +01:00
|
|
|
This will run 4 containers Docker : Dolibarr, MariaDB, PhpMyAdmin and MailDev.
|
2017-07-26 11:41:12 +02:00
|
|
|
|
|
|
|
|
The URL to go to the Dolibarr is :
|
|
|
|
|
|
|
|
|
|
http://0.0.0.0
|
|
|
|
|
|
|
|
|
|
The URL to go to PhpMyAdmin is (login/password is root/root) :
|
|
|
|
|
|
|
|
|
|
http://0.0.0.0:8080
|
2020-10-27 22:42:48 +01:00
|
|
|
|
|
|
|
|
In Dolibarr configuration Email let PHP mail function, To see all mail send by Dolibarr go to maildev
|
2019-09-16 13:24:21 +02:00
|
|
|
|
2020-10-27 22:42:48 +01:00
|
|
|
http://0.0.0.0:8081
|
|
|
|
|
|
|
|
|
|
Setup the database connection during the installation process, please use mariadb (name of the database container) as database host.
|
2020-09-07 16:04:06 +02:00
|
|
|
Setup documents folder, during the installation process, to /var/documents
|