mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-03 11:29:18 +01:00
Added profiles for compose files: default, full, all
This commit is contained in:
commit
13cfbd80df
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@ -74,7 +74,11 @@ jobs:
|
|||||||
- name: Prepare platform list
|
- name: Prepare platform list
|
||||||
id: platform
|
id: platform
|
||||||
run: |
|
run: |
|
||||||
DOCKER_PLATFORM="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le"
|
DOCKER_PLATFORM="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le"
|
||||||
|
|
||||||
|
if [ "${{ matrix.build }}" == "agent2" ]; then
|
||||||
|
DOCKER_PLATFORM="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${{ matrix.os }}" == "ubuntu" ]; then
|
if [ "${{ matrix.os }}" == "ubuntu" ]; then
|
||||||
DOCKER_PLATFORM="linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le"
|
DOCKER_PLATFORM="linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le"
|
||||||
|
@ -15,9 +15,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -43,8 +40,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -70,6 +65,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:alpine-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -81,9 +78,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -120,6 +114,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:alpine-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -131,9 +127,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -179,12 +172,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-mysql:
|
zabbix-web-apache-mysql:
|
||||||
image: zabbix/zabbix-web-apache-mysql:alpine-5.0-latest
|
image: zabbix/zabbix-web-apache-mysql:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -237,11 +229,8 @@ services:
|
|||||||
zabbix-web-nginx-mysql:
|
zabbix-web-nginx-mysql:
|
||||||
image: zabbix/zabbix-web-nginx-mysql:alpine-5.0-latest
|
image: zabbix/zabbix-web-nginx-mysql:alpine-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -293,6 +282,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:alpine-5.0-latest
|
image: zabbix/zabbix-agent:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -302,8 +294,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -332,6 +322,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:alpine-5.0-latest
|
image: zabbix/zabbix-java-gateway:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -358,6 +351,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:alpine-5.0-latest
|
image: zabbix/zabbix-snmptraps:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -419,6 +415,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -19,9 +19,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -47,8 +44,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -78,6 +73,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -89,9 +86,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -132,6 +126,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -143,9 +139,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -195,12 +188,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-web-apache-mysql:alpine-local
|
image: zabbix-web-apache-mysql:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -257,11 +249,8 @@ services:
|
|||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-web-nginx-mysql:alpine-local
|
image: zabbix-web-nginx-mysql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -317,6 +306,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -326,8 +318,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -360,6 +350,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -390,6 +383,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -451,6 +447,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -18,9 +18,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -42,8 +39,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -69,6 +64,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:alpine-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -80,9 +77,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -119,6 +113,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:alpine-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -130,9 +126,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -175,12 +168,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-pgsql:
|
zabbix-web-apache-pgsql:
|
||||||
image: zabbix/zabbix-web-apache-pgsql:alpine-5.0-latest
|
image: zabbix/zabbix-web-apache-pgsql:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -233,11 +225,8 @@ services:
|
|||||||
zabbix-web-nginx-pgsql:
|
zabbix-web-nginx-pgsql:
|
||||||
image: zabbix/zabbix-web-nginx-pgsql:alpine-5.0-latest
|
image: zabbix/zabbix-web-nginx-pgsql:alpine-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -289,6 +278,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:alpine-5.0-latest
|
image: zabbix/zabbix-agent:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -298,8 +290,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -328,6 +318,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:alpine-5.0-latest
|
image: zabbix/zabbix-java-gateway:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -354,6 +347,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:alpine-5.0-latest
|
image: zabbix/zabbix-snmptraps:alpine-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -380,6 +376,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -424,6 +422,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -434,6 +434,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -22,9 +22,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -46,8 +43,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -77,6 +72,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-proxy-sqlite3:alpine-local
|
image: zabbix-proxy-sqlite3:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -88,9 +85,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -131,6 +125,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-proxy-mysql:alpine-local
|
image: zabbix-proxy-mysql:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -142,9 +138,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -191,12 +184,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-web-apache-pgsql:alpine-local
|
image: zabbix-web-apache-pgsql:alpine-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -253,11 +245,8 @@ services:
|
|||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-web-nginx-pgsql:alpine-local
|
image: zabbix-web-nginx-pgsql:alpine-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -313,6 +302,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-agent:alpine-local
|
image: zabbix-agent:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -322,8 +314,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -356,6 +346,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-java-gateway:alpine-local
|
image: zabbix-java-gateway:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -386,6 +379,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- alpine:3.12
|
- alpine:3.12
|
||||||
image: zabbix-snmptraps:alpine-local
|
image: zabbix-snmptraps:alpine-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -412,6 +408,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -456,6 +454,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -466,6 +466,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -15,9 +15,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -43,8 +40,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -70,6 +65,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:centos-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -81,9 +78,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -120,6 +114,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:centos-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -131,9 +127,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -179,12 +172,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-mysql:
|
zabbix-web-apache-mysql:
|
||||||
image: zabbix/zabbix-web-apache-mysql:centos-5.0-latest
|
image: zabbix/zabbix-web-apache-mysql:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -237,11 +229,8 @@ services:
|
|||||||
zabbix-web-nginx-mysql:
|
zabbix-web-nginx-mysql:
|
||||||
image: zabbix/zabbix-web-nginx-mysql:centos-5.0-latest
|
image: zabbix/zabbix-web-nginx-mysql:centos-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -293,6 +282,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:centos-5.0-latest
|
image: zabbix/zabbix-agent:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -302,8 +294,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -332,6 +322,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:centos-5.0-latest
|
image: zabbix/zabbix-java-gateway:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -358,6 +351,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:centos-5.0-latest
|
image: zabbix/zabbix-snmptraps:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -419,6 +415,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -19,9 +19,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -47,8 +44,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -78,6 +73,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-proxy-sqlite3:centos-local
|
image: zabbix-proxy-sqlite3:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -89,9 +86,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -132,6 +126,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-proxy-mysql:centos-local
|
image: zabbix-proxy-mysql:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -143,9 +139,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -195,12 +188,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-web-apache-mysql:centos-local
|
image: zabbix-web-apache-mysql:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -257,11 +249,8 @@ services:
|
|||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-web-nginx-mysql:centos-local
|
image: zabbix-web-nginx-mysql:centos-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -317,6 +306,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-agent:centos-local
|
image: zabbix-agent:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -326,8 +318,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -360,6 +350,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-java-gateway:centos-local
|
image: zabbix-java-gateway:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -390,6 +383,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-snmptraps:centos-local
|
image: zabbix-snmptraps:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -451,6 +447,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -18,9 +18,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -42,8 +39,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -69,6 +64,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:centos-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -80,9 +77,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -119,6 +113,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:centos-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -130,9 +126,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -175,12 +168,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-pgsql:
|
zabbix-web-apache-pgsql:
|
||||||
image: zabbix/zabbix-web-apache-pgsql:centos-5.0-latest
|
image: zabbix/zabbix-web-apache-pgsql:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -233,11 +225,8 @@ services:
|
|||||||
zabbix-web-nginx-pgsql:
|
zabbix-web-nginx-pgsql:
|
||||||
image: zabbix/zabbix-web-nginx-pgsql:centos-5.0-latest
|
image: zabbix/zabbix-web-nginx-pgsql:centos-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -289,6 +278,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:centos-5.0-latest
|
image: zabbix/zabbix-agent:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -298,8 +290,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -328,6 +318,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:centos-5.0-latest
|
image: zabbix/zabbix-java-gateway:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -354,6 +347,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:centos-5.0-latest
|
image: zabbix/zabbix-snmptraps:centos-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -380,6 +376,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -424,6 +422,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -434,6 +434,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -22,9 +22,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -46,8 +43,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -77,6 +72,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-proxy-sqlite3:centos-local
|
image: zabbix-proxy-sqlite3:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -88,9 +85,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -131,6 +125,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-proxy-mysql:centos-local
|
image: zabbix-proxy-mysql:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -142,9 +138,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -191,12 +184,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-web-apache-pgsql:centos-local
|
image: zabbix-web-apache-pgsql:centos-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -253,11 +245,8 @@ services:
|
|||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-web-nginx-pgsql:centos-local
|
image: zabbix-web-nginx-pgsql:centos-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
@ -313,6 +302,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-agent:centos-local
|
image: zabbix-agent:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -322,8 +314,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -356,6 +346,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-java-gateway:centos-local
|
image: zabbix-java-gateway:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -386,6 +379,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- centos:centos8
|
- centos:centos8
|
||||||
image: zabbix-snmptraps:centos-local
|
image: zabbix-snmptraps:centos-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -412,6 +408,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -456,6 +454,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -466,6 +466,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -14,9 +14,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -42,8 +39,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -69,6 +64,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -79,9 +76,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -118,6 +112,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:ubuntu-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -128,9 +124,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -150,8 +143,6 @@ services:
|
|||||||
- .env_prx_mysql
|
- .env_prx_mysql
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
secrets:
|
secrets:
|
||||||
- MYSQL_USER
|
- MYSQL_USER
|
||||||
- MYSQL_PASSWORD
|
- MYSQL_PASSWORD
|
||||||
@ -176,12 +167,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-mysql:
|
zabbix-web-apache-mysql:
|
||||||
image: zabbix/zabbix-web-apache-mysql:ubuntu-5.0-latest
|
image: zabbix/zabbix-web-apache-mysql:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
||||||
@ -233,11 +223,8 @@ services:
|
|||||||
zabbix-web-nginx-mysql:
|
zabbix-web-nginx-mysql:
|
||||||
image: zabbix/zabbix-web-nginx-mysql:ubuntu-5.0-latest
|
image: zabbix/zabbix-web-nginx-mysql:ubuntu-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
||||||
@ -288,6 +275,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:ubuntu-5.0-latest
|
image: zabbix/zabbix-agent:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -296,8 +286,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -326,6 +314,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:ubuntu-5.0-latest
|
image: zabbix/zabbix-java-gateway:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -352,6 +343,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:ubuntu-5.0-latest
|
image: zabbix/zabbix-snmptraps:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -413,6 +407,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -18,9 +18,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -46,8 +43,6 @@ services:
|
|||||||
# - root-ca.pem
|
# - root-ca.pem
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql-server
|
- mysql-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -77,6 +72,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-proxy-sqlite3:ubuntu-local
|
image: zabbix-proxy-sqlite3:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -87,9 +84,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -130,6 +124,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-proxy-mysql:ubuntu-local
|
image: zabbix-proxy-mysql:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -140,9 +136,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -192,12 +185,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-web-apache-mysql:ubuntu-local
|
image: zabbix-web-apache-mysql:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
||||||
@ -253,11 +245,8 @@ services:
|
|||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-web-nginx-mysql:ubuntu-local
|
image: zabbix-web-nginx-mysql:ubuntu-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- mysql-server:mysql-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
||||||
@ -312,6 +301,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-agent:ubuntu-local
|
image: zabbix-agent:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -320,8 +312,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -354,6 +344,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-java-gateway:ubuntu-local
|
image: zabbix-java-gateway:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -384,6 +377,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-snmptraps:ubuntu-local
|
image: zabbix-snmptraps:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -445,6 +441,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -17,9 +17,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -41,8 +38,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -68,6 +63,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-sqlite3:
|
zabbix-proxy-sqlite3:
|
||||||
image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.0-latest
|
image: zabbix/zabbix-proxy-sqlite3:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -78,9 +75,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -117,6 +111,8 @@ services:
|
|||||||
|
|
||||||
zabbix-proxy-mysql:
|
zabbix-proxy-mysql:
|
||||||
image: zabbix/zabbix-proxy-mysql:ubuntu-5.0-latest
|
image: zabbix/zabbix-proxy-mysql:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -127,9 +123,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -172,12 +165,11 @@ services:
|
|||||||
|
|
||||||
zabbix-web-apache-pgsql:
|
zabbix-web-apache-pgsql:
|
||||||
image: zabbix/zabbix-web-apache-pgsql:ubuntu-5.0-latest
|
image: zabbix/zabbix-web-apache-pgsql:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
||||||
@ -229,11 +221,8 @@ services:
|
|||||||
zabbix-web-nginx-pgsql:
|
zabbix-web-nginx-pgsql:
|
||||||
image: zabbix/zabbix-web-nginx-pgsql:ubuntu-5.0-latest
|
image: zabbix/zabbix-web-nginx-pgsql:ubuntu-5.0-latest
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
||||||
@ -284,6 +273,9 @@ services:
|
|||||||
|
|
||||||
zabbix-agent:
|
zabbix-agent:
|
||||||
image: zabbix/zabbix-agent:ubuntu-5.0-latest
|
image: zabbix/zabbix-agent:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -292,8 +284,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -322,6 +312,9 @@ services:
|
|||||||
|
|
||||||
zabbix-java-gateway:
|
zabbix-java-gateway:
|
||||||
image: zabbix/zabbix-java-gateway:ubuntu-5.0-latest
|
image: zabbix/zabbix-java-gateway:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -348,6 +341,9 @@ services:
|
|||||||
|
|
||||||
zabbix-snmptraps:
|
zabbix-snmptraps:
|
||||||
image: zabbix/zabbix-snmptraps:ubuntu-5.0-latest
|
image: zabbix/zabbix-snmptraps:ubuntu-5.0-latest
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -374,6 +370,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -418,6 +416,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -428,6 +428,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -21,9 +21,6 @@ services:
|
|||||||
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
# - ./.ZBX_DB_CA_FILE:/run/secrets/root-ca.pem:ro
|
||||||
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
# - ./.ZBX_DB_CERT_FILE:/run/secrets/client-cert.pem:ro
|
||||||
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
# - ./.ZBX_DB_KEY_FILE:/run/secrets/client-key.pem:ro
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -45,8 +42,6 @@ services:
|
|||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres-server
|
- postgres-server
|
||||||
- zabbix-java-gateway
|
|
||||||
- zabbix-snmptraps
|
|
||||||
networks:
|
networks:
|
||||||
zbx_net_backend:
|
zbx_net_backend:
|
||||||
aliases:
|
aliases:
|
||||||
@ -76,6 +71,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-proxy-sqlite3:ubuntu-local
|
image: zabbix-proxy-sqlite3:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10061:10051"
|
- "10061:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -86,9 +83,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -129,6 +123,8 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-proxy-mysql:ubuntu-local
|
image: zabbix-proxy-mysql:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10071:10051"
|
- "10071:10051"
|
||||||
volumes:
|
volumes:
|
||||||
@ -139,9 +135,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
- ./zbx_env/var/lib/zabbix/mibs:/var/lib/zabbix/mibs:ro
|
||||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
- zabbix-java-gateway:zabbix-java-gateway
|
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: 65535
|
nproc: 65535
|
||||||
nofile:
|
nofile:
|
||||||
@ -188,12 +181,11 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-web-apache-pgsql:ubuntu-local
|
image: zabbix-web-apache-pgsql:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "80:8080"
|
- "8081:8080"
|
||||||
- "443:8443"
|
- "8443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
- ./zbx_env/etc/ssl/apache2:/etc/ssl/apache2:ro
|
||||||
@ -249,11 +241,8 @@ services:
|
|||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-web-nginx-pgsql:ubuntu-local
|
image: zabbix-web-nginx-pgsql:ubuntu-local
|
||||||
ports:
|
ports:
|
||||||
- "8081:8080"
|
- "80:8080"
|
||||||
- "8443:8443"
|
- "443:8443"
|
||||||
links:
|
|
||||||
- postgres-server:postgres-server
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
- ./zbx_env/etc/ssl/nginx:/etc/ssl/nginx:ro
|
||||||
@ -308,6 +297,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-agent:ubuntu-local
|
image: zabbix-agent:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10050:10050"
|
- "10050:10050"
|
||||||
volumes:
|
volumes:
|
||||||
@ -316,8 +308,6 @@ services:
|
|||||||
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
- ./zbx_env/var/lib/zabbix/modules:/var/lib/zabbix/modules:ro
|
||||||
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
- ./zbx_env/var/lib/zabbix/enc:/var/lib/zabbix/enc:ro
|
||||||
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
- ./zbx_env/var/lib/zabbix/ssh_keys:/var/lib/zabbix/ssh_keys:ro
|
||||||
links:
|
|
||||||
- zabbix-server:zabbix-server
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -350,6 +340,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-java-gateway:ubuntu-local
|
image: zabbix-java-gateway:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "10052:10052"
|
- "10052:10052"
|
||||||
deploy:
|
deploy:
|
||||||
@ -380,6 +373,9 @@ services:
|
|||||||
cache_from:
|
cache_from:
|
||||||
- ubuntu:focal
|
- ubuntu:focal
|
||||||
image: zabbix-snmptraps:ubuntu-local
|
image: zabbix-snmptraps:ubuntu-local
|
||||||
|
profiles:
|
||||||
|
- full
|
||||||
|
- all
|
||||||
ports:
|
ports:
|
||||||
- "162:1162/udp"
|
- "162:1162/udp"
|
||||||
volumes:
|
volumes:
|
||||||
@ -406,6 +402,8 @@ services:
|
|||||||
|
|
||||||
mysql-server:
|
mysql-server:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
command:
|
command:
|
||||||
- mysqld
|
- mysqld
|
||||||
- --character-set-server=utf8
|
- --character-set-server=utf8
|
||||||
@ -450,6 +448,8 @@ services:
|
|||||||
|
|
||||||
db_data_mysql:
|
db_data_mysql:
|
||||||
image: busybox
|
image: busybox
|
||||||
|
profiles:
|
||||||
|
- all
|
||||||
volumes:
|
volumes:
|
||||||
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
|
||||||
|
|
||||||
@ -460,6 +460,9 @@ services:
|
|||||||
|
|
||||||
# elasticsearch:
|
# elasticsearch:
|
||||||
# image: elasticsearch
|
# image: elasticsearch
|
||||||
|
# profiles:
|
||||||
|
# - full
|
||||||
|
# - all
|
||||||
# environment:
|
# environment:
|
||||||
# - transport.host=0.0.0.0
|
# - transport.host=0.0.0.0
|
||||||
# - discovery.zen.minimum_master_nodes=1
|
# - discovery.zen.minimum_master_nodes=1
|
||||||
|
@ -82,7 +82,7 @@ This variable is used to specify log level. By default, value is `info`. The var
|
|||||||
|
|
||||||
### `ZBX_PROPERTIES_FILE`
|
### `ZBX_PROPERTIES_FILE`
|
||||||
|
|
||||||
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones. Available since 5.2.3.
|
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones.
|
||||||
|
|
||||||
### `ZABBIX_OPTIONS`
|
### `ZABBIX_OPTIONS`
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ This variable is used to specify log level. By default, value is `info`. The var
|
|||||||
|
|
||||||
### `ZBX_PROPERTIES_FILE`
|
### `ZBX_PROPERTIES_FILE`
|
||||||
|
|
||||||
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones. Available since 5.2.3.
|
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones.
|
||||||
|
|
||||||
### `ZABBIX_OPTIONS`
|
### `ZABBIX_OPTIONS`
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ This variable is used to specify log level. By default, value is `info`. The var
|
|||||||
|
|
||||||
### `ZBX_PROPERTIES_FILE`
|
### `ZBX_PROPERTIES_FILE`
|
||||||
|
|
||||||
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones. Available since 5.2.3.
|
Name of properties file. Can be used to set additional properties using a key-value format in such a way that they are not visible on a command line or to overwrite existing ones.
|
||||||
|
|
||||||
### `ZABBIX_OPTIONS`
|
### `ZABBIX_OPTIONS`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user