mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-02 10:59:18 +01:00
Use env variables in Zabbix web images
This commit is contained in:
parent
92553eb838
commit
f926119e0a
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user