2
0
forked from Wavyzz/dolibarr
Commit Graph

11 Commits

Author SHA1 Message Date
Alexandre Janniaux
39e0723214 docker-dev: README: improve usage documentation
This commit adds more documentation on how to use the docker-compose
setup in different environment (postgres / mariadb) as well as how to
setup it for module development.
2025-02-02 20:09:54 +01:00
Alexandre Janniaux
e6516f06a4 docker-dev: extract mariadb.yml from docker compose file
This extracts the mariadb part to be able to compose different
docker-compose manifests and use PostgreSQL instead for module
development and debugging.
2025-02-02 20:09:53 +01:00
Alexandre Janniaux
99d9d99115 docker-dev: README: use new docker compose subcommand
docker-compose has been replaced by docker compose.
2025-02-02 20:09:51 +01:00
Alexandre Janniaux
2b9deda89b docker-dev: README: set document width to 80
Improve terminal reading experience by limiting the document width to
80. On the web interface, markdown with merge every line into a single
paragraph.
2025-02-02 20:09:50 +01:00
Alexandre Janniaux
f3613f0425 docker-dev: compose: fix warnings
version is deprecated and yaml document starts after --- marker.
2025-02-02 20:09:49 +01:00
Alexandre Janniaux
57ccb41c6e docker-dev: remove files rights change in docker-run.sh
File rights from the whole environment should not change since the files
are belonging to the git tree. In addition, setting www-data to the same
user id as the user (or likewise, setting a userns remapping) remove the
need to change the rights.
2025-02-02 20:09:47 +01:00
Alexandre Janniaux
19d69eaac9 docker-dev: add support for postgresql database
The PostgreSQL database can be used as the following:

        docker compose -f docker-compose.yml -f docker-compose.postgres.yml up

This allows a bit more modularity and ensuring people can start a
PostgreSQL development setup quickly.
2025-02-02 20:09:46 +01:00
Alexandre Janniaux
2e7b90a31c docker-dev: fix LDAP configuration
The libraries are not in /usr/lib/x86_64-gnu-linux anymore, multilib not
being enabled.
2025-02-02 20:09:44 +01:00
Alexandre Janniaux
e1da6dd789 docker-dev: fix paths for docker-compose volumes
The folder was moved in c9519a1a5a
but the paths in 9a61a6e6c9 were not
updated afterwards.
2025-02-02 20:09:41 +01:00
Laurent Destailleur (aka Eldy)
9a61a6e6c9 Update files after moving build into dev/ 2025-01-05 14:46:26 +01:00
Laurent Destailleur (aka Eldy)
c9519a1a5a Move dir build into dev/build 2025-01-05 14:28:07 +01:00