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