Quentinvarquet / docker-phpservermonitor

2 stars 54 forks source link

Docker file is missing option to set php timezone #4

Open Germs2004 opened 4 years ago

Germs2004 commented 4 years ago

Fresh install using this docker command that was recommended in your readme file: docker run --name phpservermonitor -p 80:80 -d quentinv/phpservermonitor:latest

On the install.php page, it gives a warning: You should set a timezone in your php.ini file (e.g. 'date.timezone = UTC').

I think the correct solution to this is for your docker image to have an option for the user to specify the timezone while installing the docker image. This issue from a different project may be helpful: https://github.com/TetraWeb/docker/issues/16