|
@@ -1,11 +1,3 @@
|
|
|
-# This docker-compose.yml file is used to build and run Dolibarr
|
|
|
-# in the current workspace
|
|
|
-#
|
|
|
-# Before build/run, define the variable HOST_USER_ID as following:
|
|
|
-# $ export HOST_USER_ID=$(id -u)
|
|
|
-# And then, you can run :
|
|
|
-# $ docker-compose up
|
|
|
-
|
|
|
mariadb:
|
|
|
image: mariadb:latest
|
|
|
environment:
|
|
@@ -26,7 +18,7 @@ web:
|
|
|
environment:
|
|
|
HOST_USER_ID: $HOST_USER_ID
|
|
|
volumes:
|
|
|
- - ./htdocs:/var/www/html
|
|
|
+ - ../../htdocs:/var/www/html
|
|
|
links:
|
|
|
- mariadb
|
|
|
ports:
|