From 3e299ec71f7d8dc7ccfbd4b2cb978aa0d9a12520 Mon Sep 17 00:00:00 2001 From: fokot Date: Wed, 6 Sep 2023 10:25:14 +0200 Subject: [PATCH] zabbix Signed-off-by: fokot --- zabbix/README.md | 7 +++++++ zabbix/compose.yaml | 29 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 zabbix/README.md create mode 100644 zabbix/compose.yaml diff --git a/zabbix/README.md b/zabbix/README.md new file mode 100644 index 0000000..114349d --- /dev/null +++ b/zabbix/README.md @@ -0,0 +1,7 @@ +## [Zabbix](https://www.zabbix.com/) with PostgresSQL + +Change image postfix to `mysql` to use with MySQL. + +Admin console runs on ports `80` and `443`. + +Default credentials are `Admin`/`zabbix`. diff --git a/zabbix/compose.yaml b/zabbix/compose.yaml new file mode 100644 index 0000000..412fbcf --- /dev/null +++ b/zabbix/compose.yaml @@ -0,0 +1,29 @@ +version: '3.5' +services: + zabbix-postgres: + image: postgres + ports: + - "5439:5432" + environment: + - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=zabbix + + zabbix-server: + image: zabbix/zabbix-server-pgsql + ports: + - "10051:10051" + environment: + - DB_SERVER_HOST=zabbix-postgres + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + + zabbix-web-nginx-pgsql: + image: zabbix/zabbix-web-nginx-pgsql + ports: + - "80:8080" + - "443:8443" + environment: + - ZBX_SERVER_HOST=zabbix-server + - DB_SERVER_HOST=zabbix-postgres + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres