mirror of
https://github.com/Thumbscrew/zabbix-server-docker-compose.git
synced 2025-01-18 17:45:47 +00:00
add proxy network for reverse proxy
This commit is contained in:
parent
8d3ad6e662
commit
a77683add5
@ -1,5 +1,6 @@
|
|||||||
# Docker
|
# Docker
|
||||||
VOLUME_PATH=/data/zabbix
|
VOLUME_PATH=/data/zabbix
|
||||||
|
DOCKER_PROXY_NETWORK=proxy
|
||||||
|
|
||||||
# PostgreSQL
|
# PostgreSQL
|
||||||
POSTGRES_TAG=13
|
POSTGRES_TAG=13
|
||||||
|
@ -10,6 +10,9 @@ networks:
|
|||||||
database:
|
database:
|
||||||
web:
|
web:
|
||||||
agent:
|
agent:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
name: ${DOCKER_PROXY_NETWORK}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres-server:
|
postgres-server:
|
||||||
@ -60,6 +63,7 @@ services:
|
|||||||
image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_TAG}
|
image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_TAG}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
|
- proxy
|
||||||
- database
|
- database
|
||||||
- web
|
- web
|
||||||
secrets:
|
secrets:
|
||||||
|
Loading…
Reference in New Issue
Block a user