summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-08-24 03:25:43 +0000
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-08-24 03:25:43 +0000
commitca63ce5becbc2df9cd9b33fcb677c20d856889c4 (patch)
tree14742a33c5dca269d53cea68e3d6d9efcb87d64c
parent8cf8a18e951fb18ac9f562f14db462de42b27148 (diff)
downloadzabbix-container-ca63ce5becbc2df9cd9b33fcb677c20d856889c4.tar.gz
zabbix-container-ca63ce5becbc2df9cd9b33fcb677c20d856889c4.tar.bz2
zabbix-container-ca63ce5becbc2df9cd9b33fcb677c20d856889c4.tar.lz
zabbix-container-ca63ce5becbc2df9cd9b33fcb677c20d856889c4.zip

fix: checking in that file skips setup

-rw-r--r--.gitignore1
-rw-r--r--zabbix/conf/zabbix.conf.php58
2 files changed, 1 insertions, 58 deletions
diff --git a/.gitignore b/.gitignore
index 7c5dabf..8b97988 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
/zabbix/pg
/zabbix/conf/zabbix_server.conf
/zabbix/conf/zabbix_agent2.conf
+/zabbix/conf/zabbix.conf.php
.env
/backups/*
diff --git a/zabbix/conf/zabbix.conf.php b/zabbix/conf/zabbix.conf.php
deleted file mode 100644
index 944347d..0000000
--- a/zabbix/conf/zabbix.conf.php
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-// Zabbix GUI configuration file.
-
-$DB['TYPE'] = 'POSTGRESQL';
-$DB['SERVER'] = 'postgres';
-$DB['PORT'] = '0';
-$DB['DATABASE'] = 'zabbix';
-$DB['USER'] = 'zabbix';
-$DB['PASSWORD'] = '1d03dcc36d69df8b6d8075109b559627f7dad4f0189b7ed82eb8aa8d1d539e4131b2427bce89af8c6631af568bd3fc922c6adeb95de62dfec3da8ed7dcc0052a';
-
-// Schema name. Used for PostgreSQL.
-$DB['SCHEMA'] = '';
-
-// Used for TLS connection.
-$DB['ENCRYPTION'] = false;
-$DB['KEY_FILE'] = '';
-$DB['CERT_FILE'] = '';
-$DB['CA_FILE'] = '';
-$DB['VERIFY_HOST'] = false;
-$DB['CIPHER_LIST'] = '';
-
-// Vault configuration. Used if database credentials are stored in Vault secrets manager.
-$DB['VAULT'] = '';
-$DB['VAULT_URL'] = '';
-$DB['VAULT_PREFIX'] = '';
-$DB['VAULT_DB_PATH'] = '';
-$DB['VAULT_TOKEN'] = '';
-$DB['VAULT_CERT_FILE'] = '';
-$DB['VAULT_KEY_FILE'] = '';
-// Uncomment to bypass local caching of credentials.
-// $DB['VAULT_CACHE'] = true;
-
-// Uncomment and set to desired values to override Zabbix hostname/IP and port.
-// $ZBX_SERVER = '';
-// $ZBX_SERVER_PORT = '';
-
-$ZBX_SERVER_NAME = 'test';
-
-$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
-
-// Uncomment this block only if you are using Elasticsearch.
-// Elasticsearch url (can be string if same url is used for all types).
-//$HISTORY['url'] = [
-// 'uint' => 'http://localhost:9200',
-// 'text' => 'http://localhost:9200'
-//];
-// Value types stored in Elasticsearch.
-//$HISTORY['types'] = ['uint', 'text'];
-
-// Used for SAML authentication.
-// Uncomment to override the default paths to SP private key, SP and IdP X.509 certificates, and to set extra settings.
-//$SSO['SP_KEY'] = 'conf/certs/sp.key';
-//$SSO['SP_CERT'] = 'conf/certs/sp.crt';
-//$SSO['IDP_CERT'] = 'conf/certs/idp.crt';
-//$SSO['SETTINGS'] = [];
-
-// If set to false, support for HTTP authentication will be disabled.
-// $ALLOW_HTTP_AUTH = true;