tuxgasy / docker-dolibarr

Use the official repo https://github.com/Dolibarr/dolibarr-docker
GNU General Public License v3.0
130 stars 91 forks source link

Apache Not starting when using cron #147

Open f-hoedl opened 7 months ago

f-hoedl commented 7 months ago

https://github.com/tuxgasy/docker-dolibarr/blob/00c9b5a16b8081eac7b4518e974401d8938d8b2d/images/19.0.1-php8.2/docker-run.sh#L253-L258

Why is cron set to run in foreground so that apache server is not starting?

Jemy64 commented 3 months ago

Hi,

This is not an issue. I don't know why but the current functioning disable apache when the CRON is enabled. This is a switch mode. So you shoud create 2 services into your docker-compose.yml : one to run cron and another to run apache.

I have open a new PR to change that here