oups twice
This commit is contained in:
@@ -62,50 +62,4 @@ services:
|
||||
restart: unless-stopped
|
||||
container_name: zabbix-agent
|
||||
environment:
|
||||
- ZBX_SERVER_HOST=127.0.0.1 #the IP/Dns of Zabbix server
|
||||
|
||||
zabbix-server: # The main Zabbix Server Software Service
|
||||
image: zabbix/zabbix-server-pgsql:5.0-ubuntu-latest
|
||||
container_name: zabbix-mainserver
|
||||
restart: always
|
||||
environment: # The Postgres database value variable
|
||||
POSTGRES_USER: zabbix_user
|
||||
POSTGRES_PASSWORD: TheVeryVeryBigzabbixPassw0rd_TobeReallyAndTotallySafe
|
||||
POSTGRES_DB: zabbix_db
|
||||
DB_SERVER_HOST: postgresql-server
|
||||
ZBX_HISTORYSTORAGETYPES: log,text #Zabbix configuration variables
|
||||
ZBX_DEBUGLEVEL: 1
|
||||
ZBX_HOUSEKEEPINGFREQUENCY: 1
|
||||
ZBX_MAXHOUSEKEEPERDELETE: 5000
|
||||
depends_on:
|
||||
- postgresql-server
|
||||
volumes: # Volumes for scripts and related files you can add
|
||||
- zabbix_alert_scripts:/usr/lib/zabbix/alertscripts
|
||||
|
||||
zabbix-web: # The main Zabbix web UI or interface
|
||||
image: zabbix/zabbix-web-apache-pgsql:5.0-ubuntu-latest
|
||||
restart: always
|
||||
container_name: zabbix-webserver
|
||||
environment: # Postgre database variables
|
||||
POSTGRES_USER: zabbix_user
|
||||
POSTGRES_PASSWORD: TheVeryVeryBigzabbixPassw0rd_TobeReallyAndTotallySafe
|
||||
POSTGRES_DB: zabbix_db
|
||||
DB_SERVER_HOST: postgresql-server
|
||||
ZBX_SERVER_HOST: zabbix-server # Zabbix related and Php variables
|
||||
# ZBX_POSTMAXSIZE: 64M
|
||||
PHP_TZ: "Europe/Paris"
|
||||
ZBX_MAXEXECUTIONTIME: 500
|
||||
depends_on:
|
||||
- postgresql-server
|
||||
- zabbix-server
|
||||
ports: # Port where Zabbix UI is available
|
||||
- 8090:80
|
||||
|
||||
zabbix-agent: # Zabbix agent service that tracks usage and send to zabbix server
|
||||
image: zabbix/zabbix-agent:latest
|
||||
privileged: true #access mode for allowing resource access
|
||||
network_mode: "host"
|
||||
restart: unless-stopped
|
||||
container_name: zabbix-agent
|
||||
environment:
|
||||
- ZBX_SERVER_HOST=127.0.0.1 #the IP/Dns of Zabbix server
|
||||
- ZBX_SERVER_HOST=127.0.0.1 #the IP/Dns of Zabbix server
|
||||
Reference in New Issue
Block a user