zabbix-docker/Dockerfiles/web-nginx-mysql/alpine/conf/etc/zabbix/web/zabbix.conf.php

21 lines
598 B
PHP
Raw Normal View History

2016-08-03 10:09:49 +02:00
<?php
// Zabbix GUI configuration file.
global $DB;
2020-09-10 14:05:17 +02:00
$DB['TYPE'] = getenv('DB_SERVER_TYPE');
$DB['SERVER'] = getenv('DB_SERVER_HOST');
$DB['PORT'] = getenv('DB_SERVER_PORT');
$DB['DATABASE'] = getenv('DB_SERVER_DBNAME');
$DB['USER'] = getenv('DB_SERVER_USER');
$DB['PASSWORD'] = getenv('DB_SERVER_PASS');
2016-08-03 10:09:49 +02:00
// Schema name. Used for IBM DB2 and PostgreSQL.
2020-09-10 14:05:17 +02:00
$DB['SCHEMA'] = getenv('DB_SERVER_SCHEMA');
2016-08-03 10:09:49 +02:00
2020-09-10 14:05:17 +02:00
$ZBX_SERVER = getenv('ZBX_SERVER_HOST');
$ZBX_SERVER_PORT = getenv('ZBX_SERVER_PORT');
$ZBX_SERVER_NAME = getenv('ZBX_SERVER_NAME');
2016-08-03 10:09:49 +02:00
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>