mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
|||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/zabbix-server/postgres-data:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: 'true'
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
@@ -42,7 +42,7 @@ services:
|
|||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/zabbix-server/frontend/certs:/usr/share/zabbix/conf/certs
|
- certs:/usr/share/zabbix/conf/certs
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: 'true'
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
@@ -55,7 +55,7 @@ services:
|
|||||||
- stack.env
|
- stack.env
|
||||||
image: ${DOCKER_REGISTRY:-}zabbix/zabbix-server-pgsql:alpine-latest
|
image: ${DOCKER_REGISTRY:-}zabbix/zabbix-server-pgsql:alpine-latest
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/zabbix-server/server/alertscripts:/usr/lib/zabbix/alertscripts
|
- alertscripts:/usr/lib/zabbix/alertscripts
|
||||||
networks:
|
networks:
|
||||||
zabbix:
|
zabbix:
|
||||||
ipv4_address: 192.168.89.2
|
ipv4_address: 192.168.89.2
|
||||||
@@ -109,10 +109,15 @@ services:
|
|||||||
- /usr/bin:/usr/bin
|
- /usr/bin:/usr/bin
|
||||||
- /usr/lib:/usr/lib
|
- /usr/lib:/usr/lib
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /share/docker_data/zabbix-server/scripts:/scripts
|
- scripts:/scripts
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- /scripts/install-curl.sh
|
- /scripts/install-curl.sh
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
|
certs:
|
||||||
|
alertscripts:
|
||||||
|
scripts:
|
||||||
Reference in New Issue
Block a user