Closed nopoz closed 1 year ago
This is a great point, thanks for pointing this out. I didn't think about that at all when I added that functionality.
I updated docker-entrypoint.py
to create a new php.ini
file if it does not exist, or to update an existing one in-place so you can your own customizations. I've started new builds and hopefully they push out in about an hour.
Thanks for the fast response and commit! I've tested the new build out and it works as expected - modifications to php.ini stick around after a container restart.
I'm trying to add
session.gc_maxlifetime = 86400
to the "/usr/local/etc/php/php.ini" file in order to extend the lifetime of an authenticated session to 24 hours. However every time the docker container starts up, the startup script docker-entrypoint.py clobbers my php.ini file and overwrites my changes. If I create a php.ini file on the host, mount it in the container in my compose file, mark it as read only, the /docker-entrypoint.py errors out and the container fails to start entirely:I see a few potential solutions: