You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
its better in a docker setup because most of the time, the person deploying is parsing the env variables somehow, so if these database are entered somehwere, then it makes sense that they are used and implemented.
Using your image, we have implemented it here https://github.com/geniusdynamics/docker-glpi
we are also attempting to have the same implemented with the glpi pre-built into the docker image. that way even when ofline, someone can start the image its on the genius-glpi branch of the same link
At the moment, the container seems to be asking the user from the user interface to add their database details, which is countr intuitive,
WOuld it not be great if we could have the container automatically use the configured variables to acheive this.
We can do this by
Mounting the following file inside the glpi files
config_db.php
then inside it, we add the follwing
youll need to adopt the variables to yours,
Wouldnt this solve the problem?
A previous attempt here solved the problem https://github.com/stephdl/nethserver-glpi-10-latest/blob/ns7/root/etc/e-smith/templates/etc/glpi/config_db.php/10base
The text was updated successfully, but these errors were encountered: