mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Use env variables in Zabbix web images
This commit is contained in:
@ -146,7 +146,7 @@ prepare_web_server() {
|
|||||||
prepare_zbx_web_config() {
|
prepare_zbx_web_config() {
|
||||||
echo "** Preparing Zabbix frontend configuration file"
|
echo "** Preparing Zabbix frontend configuration file"
|
||||||
|
|
||||||
ZPHP_CONFIG_FILE="/etc/php-fpm.d/zabbix.conf"
|
PHP_CONFIG_FILE="/etc/php-fpm.d/zabbix.conf"
|
||||||
|
|
||||||
if [ "$(id -u)" == '0' ]; then
|
if [ "$(id -u)" == '0' ]; then
|
||||||
echo "user = zabbix" >> "$PHP_CONFIG_FILE"
|
echo "user = zabbix" >> "$PHP_CONFIG_FILE"
|
||||||
|
Reference in New Issue
Block a user