Commit Graph

73 Commits

Author SHA1 Message Date
Laurent Destailleur
11a1ef9968 Fix load of demo 2024-09-13 16:49:48 +02:00
Laurent Destailleur
ea068c235b Add log 2024-09-13 16:38:05 +02:00
Laurent Destailleur
f483c7fdf7 Debug load init 2024-09-13 16:29:26 +02:00
Laurent Destailleur
f5e5c885f2 Fix load demo 2024-09-13 15:47:52 +02:00
Laurent Destailleur
7391a344d4 Fix upgrade using upgrade.unlock. Add more logs. 2024-09-13 13:31:15 +02:00
Laurent Destailleur
fbe37c2c4e Fix bad test on db exists 2024-09-13 11:22:25 +02:00
Laurent Destailleur
c97f91a917 Update email for feedback. 2024-09-13 03:52:09 +02:00
Laurent Destailleur
514caf7c69 NEW Test if init demo file download fails. Test also if db exists.
Fix init demo for develop version.
2024-09-12 21:41:28 +02:00
Laurent Destailleur
90c01d9da6 Better log for init. 2024-09-12 18:42:52 +02:00
Laurent Destailleur
e30ea59710 Fix load of dump.
The test use port 81 instead of 80.
2024-09-10 15:13:37 +02:00
Laurent Destailleur
92df31b1ba Fix load 2024-09-09 17:25:46 +02:00
Laurent Destailleur
aadadb0762 More code comment. Rename /home/dolibarr_data into
/home/dolibarr_documents
2024-09-08 21:29:48 +02:00
Laurent Destailleur
40f4d2efc3 Update image to fix dump load 2024-09-08 21:03:10 +02:00
Laurent Destailleur
586c1ac23d Fix logs concat 2024-09-07 20:04:51 +02:00
Laurent Destailleur
2adfa40d39 Doc 2024-09-07 19:59:05 +02:00
Laurent Destailleur
3701ef9da2 Enhance load of dump file 2024-09-06 23:19:38 +02:00
Laurent Destailleur
741db1f38e Save log in the persistent directory 2024-09-06 23:07:59 +02:00
Laurent Destailleur
8b9a1aa7be Fix get of data file 2024-09-04 15:20:27 +02:00
Laurent Destailleur
cf4d347ba9 Clean code and add more logs 2024-08-21 14:29:13 +02:00
Laurent Destailleur
a89cc047f0 Fix log 2024-08-21 14:20:52 +02:00
Aloïs Micard
156e5cb402 Remove wget dependency 2024-08-20 08:51:26 +02:00
Laurent Destailleur
7413f565c7 Prepare v20. Add wget into image. 2024-08-19 13:10:57 +02:00
Laurent Destailleur
680f1d44fc Fix try another solution to provide feature DOLI_INIT_DEMO 2024-08-18 19:01:34 +02:00
Laurent Destailleur
e0786cfc87 More logs. Include demo data. 2024-08-18 18:10:46 +02:00
Laurent Destailleur
3d26e308d2 NEW Make setup of volumes easier - Add option DOLI_INIT_DEMO 2024-08-17 15:42:13 +02:00
Laurent Destailleur
0e1e66ab9d FIX The data files llx_accounting_account_* must not be loaded at
install.
2024-08-15 20:08:42 +02:00
benvia
cab752f9c3 Refactoring of function executing scripts during initialization or container starting (#160)
* Refactoring of function running scripts

* Update readme files

* Update images with new docker-run script

---------

Co-authored-by: Benoit Vianin <benoit.vianin@pixeleez.ch>
2024-07-16 22:35:58 +02:00
Vaadasch
bf68e31521 Add customs scripts via volume mount (#150)
* docker-init.d

* Custom scripts in volume docker-init.d

* FIX Custom scripts in volume docker-init.d

---------

Co-authored-by: Vaadasch <me@local.here>
2024-04-29 18:57:56 +02:00
TuxGasy
edc6e87909 Run update.sh script 2024-03-28 19:57:39 +01:00
Vaadasch
93e5f16f1b Ownership of documents dirs after module activation 2024-03-28 17:44:22 +01:00
Alban Durrheimer
6956434702 Fix dolibarr_main_instance_unique_id (#132) 2023-09-08 14:02:31 +02:00
Alban Durrheimer
1c5aec0f98 Add DOLI_INSTANCE_UNIQUE_ID env variable (#130) 2023-09-07 18:45:00 +02:00
TuxGasy
caf7fbdd48 Allow custom php allow_url_fopen conf 2023-07-12 21:21:33 +02:00
Adrian Bach
437df7c5c8 Address security concerns (#126)
* fix: address some security concerns

* feat: add new DOLI_PROD env variable
2023-06-28 21:14:46 +02:00
TuxGasy
4980d8fbfd Merge branch 'master' of github.com:tuxgasy/docker-dolibarr 2023-05-13 10:33:04 +02:00
TuxGasy
6de8618a8c Fix #100 #119 enable user module 2023-05-13 10:24:58 +02:00
Florent Poinsaut
f3565220ce Add secrets for cron credentials (#98)
* Add secrets for cron credentials

* Add secrets for cron credentials for all images

* Set CRON var to empty by default as noted in the README + Update README.template with these new secrets.
2023-04-19 10:42:37 +02:00
vincowl
a93453fe03 apply requested changes to submitted PR 2023-03-27 15:33:23 +02:00
vincowl
7f2b49ceb4 Add env var to change php.ini upload size 2023-02-04 14:06:01 +01:00
Sébastien Prud'homme
0c96fea4bf Redirect cron script outputs to container outputs (#96)
* Redirect cron script outputs to container outputs

* Revert cron frequency to 5 minutes
2022-09-24 14:58:40 +02:00
Sébastien Prud'homme
a416b2879a Configure full path to mysqldump command (#94)
* Configure full path to mysqldump command

* Fix entity
2022-09-06 12:23:44 +02:00
Sébastien Prud'homme
d949611696 Add timeout when testing connection to database (#93) 2022-08-31 17:28:58 +02:00
Garcia MICHEL
7980a9fd94 Add cron as sidecar container (#86)
* Add cron as sidecar container

* Fix cronjob
2022-06-26 13:00:41 +02:00
Edoardo Zanoni
d2e3605ccb Feature/add postgres support (#80)
* Add v15

* Add initial support to postgres

* [78] Add compose example for postgres installation

* [78] Fix docs: moved upgrade lines under proper section

* [78] Add postgres upgrade instructions

* [gh-78] Improve conf.php management with pgsql
2022-03-07 19:13:15 +01:00
Arnaud Trouche
7680d158b1 Add LDAP configuration via environment variables (#36)
* Add LDAP environnement options to conf.php at startup

* Run update.sh

* Fix formtting issue in Readme.

* Make LDAP filling optional and move vars definition to docker-run

* Fix typo in README.

* Implement suggested changes (envs vars back to Dockerfile, ...)
2021-03-22 20:44:48 +01:00
POTIER Mathieu
ce9d9c483c Add some example of integrations (#44)
* Add some example of integrations
Update docker-run.sh to deal with docker secret for some vars.

* Update update.sh

Fix review

* Update .gitignore
2021-03-15 17:07:47 +01:00
Wystik-69
14f2d2d2bf ${DOLI_DB_HOST_PORT} line 60 (#45)
-P ${DOLI_DB_HOST_PORT} is required in order to check the database connection, just tested it, without the script is stuck on Checking de SQL connection.
2021-02-12 14:24:16 +01:00
Mickael Lehoux
27a786c94d Allow to change default mysql port by using ${DOLI_DB_HOST_PORT} (#41)
* 🚀 add ${DOLI_DB_HOST_PORT} on each docker-run.sh

* 📝 edit readme

* etid from https://github.com/tuxgasy/docker-dolibarr/pull/41#issuecomment-770176469

* default port set in Dockerfile.template only

Co-authored-by: Mickael <mickael.lehoux@greenponik.com>
2021-02-02 15:22:23 +01:00
TuxGasy
737234da33 Add develop tag 2021-01-15 23:22:06 +01:00
TuxGasy
bc221bf564 Wait database only if DOLI_INSTALL_AUTO = 1 2020-11-24 18:18:32 +01:00