add proxy network for reverse proxy

This commit is contained in:
James 2022-02-16 20:57:28 +00:00
parent 8d3ad6e662
commit a77683add5
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Docker
VOLUME_PATH=/data/zabbix
DOCKER_PROXY_NETWORK=proxy
# PostgreSQL
POSTGRES_TAG=13

View File

@ -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: