add proxy network for reverse proxy
This commit is contained in:
parent
8d3ad6e662
commit
a77683add5
|
@ -1,5 +1,6 @@
|
|||
# Docker
|
||||
VOLUME_PATH=/data/zabbix
|
||||
DOCKER_PROXY_NETWORK=proxy
|
||||
|
||||
# PostgreSQL
|
||||
POSTGRES_TAG=13
|
||||
|
|
|
@ -10,6 +10,9 @@ networks:
|
|||
database:
|
||||
web:
|
||||
agent:
|
||||
proxy:
|
||||
external: true
|
||||
name: ${DOCKER_PROXY_NETWORK}
|
||||
|
||||
services:
|
||||
postgres-server:
|
||||
|
@ -60,6 +63,7 @@ services:
|
|||
image: zabbix/zabbix-web-nginx-pgsql:${ZABBIX_TAG}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy
|
||||
- database
|
||||
- web
|
||||
secrets:
|
||||
|
|
Loading…
Reference in New Issue