docker-images
docker-images copied to clipboard
Global variable GLPI_LOG_DIR not reflected inside env vars for user www-data
In my deployment, GLPI_LOG_DIR is set to /var/log/glpi and it is correct for user root inside the container. Instead, if I see env vars for user www-data it is using the default in a GLPI installation: /var/glpi/logs
Maybe it's a bug, could you check it?
It seems that the problem is that the Docker env variable is not injected inside /etc/environment and it continues with the default value:
# grep GLPI_LOG_DIR /etc/environment
GLPI_LOG_DIR=/var/glpi/logs