mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-22 07:43:47 +01:00
Fixed permissions for snmptraps volume
This commit is contained in:
parent
48046c6253
commit
7015de498b
@ -13,7 +13,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -76,7 +76,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -126,7 +126,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -342,7 +342,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -409,6 +409,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -17,7 +17,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -84,7 +84,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -138,7 +138,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -374,7 +374,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -441,6 +441,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -75,7 +75,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -125,7 +125,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -345,7 +345,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -434,6 +434,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -83,7 +83,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -137,7 +137,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -378,7 +378,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -467,6 +467,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -13,7 +13,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -76,7 +76,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -126,7 +126,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -342,7 +342,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -409,6 +409,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -17,7 +17,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -84,7 +84,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -138,7 +138,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -374,7 +374,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -441,6 +441,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -75,7 +75,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -125,7 +125,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -345,7 +345,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -434,6 +434,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -77,7 +77,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -128,7 +128,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -357,7 +357,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -446,6 +446,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -12,7 +12,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -74,7 +74,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -123,7 +123,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -336,7 +336,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -403,6 +403,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -16,7 +16,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- mysql-server:mysql-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -82,7 +82,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -135,7 +135,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -368,7 +368,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -435,6 +435,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -73,7 +73,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -122,7 +122,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -339,7 +339,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -428,6 +428,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
@ -75,7 +75,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -125,7 +125,7 @@ services:
|
||||
- ./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/mibs:/var/lib/zabbix/mibs:ro
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:ro
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
links:
|
||||
- zabbix-server:zabbix-server
|
||||
- zabbix-java-gateway:zabbix-java-gateway
|
||||
@ -348,7 +348,7 @@ services:
|
||||
ports:
|
||||
- "162:1162/udp"
|
||||
volumes:
|
||||
- ./zbx_env/var/lib/zabbix/snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
- snmptraps:/var/lib/zabbix/snmptraps:rw
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@ -437,6 +437,9 @@ networks:
|
||||
config:
|
||||
- subnet: 172.16.239.0/24
|
||||
|
||||
volumes:
|
||||
snmptraps:
|
||||
|
||||
secrets:
|
||||
MYSQL_USER:
|
||||
file: ./.MYSQL_USER
|
||||
|
Loading…
Reference in New Issue
Block a user