When recreating the container with docker compose down & up, the setup needs to be done again even if everything is set up.
I think thats because ipconfig.php is not persisted. We can not use a bind mount for that file, because sed is not able to edit the file that way ("sed: cannot rename /var/www/html/sedR2E6ox: Device or resource busy").
Any ideas other than doing the setup, copying the ipconfig.php to the host and then set the bind mount? This is troublesome, because most of the setup is possible through the env, you did a good work there.
Thanks in advance!
When recreating the container with docker compose down & up, the setup needs to be done again even if everything is set up.
I think thats because ipconfig.php is not persisted. We can not use a bind mount for that file, because sed is not able to edit the file that way ("sed: cannot rename /var/www/html/sedR2E6ox: Device or resource busy").
Any ideas other than doing the setup, copying the ipconfig.php to the host and then set the bind mount? This is troublesome, because most of the setup is possible through the env, you did a good work there.
Thanks in advance!