1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00
This commit is contained in:
František Kocun 2024-06-13 11:24:41 +00:00 committed by GitHub
commit c154832a9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 36 additions and 0 deletions

7
zabbix/README.md Normal file
View file

@ -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`.

29
zabbix/compose.yaml Normal file
View file

@ -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