2024-11-08 01:40:48 +01:00
|
|
|
# How to use run Dolibarr with docker ?
|
2017-07-26 11:41:12 +02:00
|
|
|
|
2024-08-16 20:15:58 +02:00
|
|
|
|
2024-11-08 01:40:48 +01:00
|
|
|
## For a fast run of a demo of the local version, you can build the docker image from this current repository by running
|
2024-08-16 20:15:58 +02:00
|
|
|
|
2024-11-08 01:56:46 +01:00
|
|
|
|
|
|
|
|
sudo docker-compose build
|
|
|
|
|
|
|
|
|
|
sudo -s
|
|
|
|
|
|
2024-06-15 17:11:01 +02:00
|
|
|
export HOST_USER_ID=$(id -u)
|
2024-06-19 19:27:04 +02:00
|
|
|
export HOST_GROUP_ID=$(id -g)
|
2024-06-15 17:11:01 +02:00
|
|
|
export MYSQL_ROOT_PWD=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13; echo)
|
2017-07-26 11:41:12 +02:00
|
|
|
|
2024-06-15 17:11:01 +02:00
|
|
|
docker-compose up -d
|
2024-08-16 20:15:58 +02:00
|
|
|
|
2024-11-08 01:56:46 +01:00
|
|
|
|
2024-11-08 01:40:48 +01:00
|
|
|
Warning: There is no persistency of data. This process is for dev purpose only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## For a more robust or a production usage
|
|
|
|
|
|
|
|
|
|
If you want to execute an official Docker package, you can find it and read the doc on ihttps://hub.docker.com/r/dolibarr/dolibarr
|