added container hostname
This commit is contained in:
parent
02f88c1c08
commit
609fb6e2e0
@ -3,6 +3,7 @@ services:
|
|||||||
#########################
|
#########################
|
||||||
zabbix:
|
zabbix:
|
||||||
image: git.shihaam.dev/dockerfiles/zabbix-server
|
image: git.shihaam.dev/dockerfiles/zabbix-server
|
||||||
|
hostname: zabbix
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD/configdir/etc/zabbix/zabbix_server.conf:/etc/zabbix/zabbix_server.conf
|
- $PWD/configdir/etc/zabbix/zabbix_server.conf:/etc/zabbix/zabbix_server.conf
|
||||||
- $PWD/configdir/etc/zabbix/nginx.conf:/etc/zabbix/nginx.conf
|
- $PWD/configdir/etc/zabbix/nginx.conf:/etc/zabbix/nginx.conf
|
||||||
@ -17,6 +18,7 @@ services:
|
|||||||
#########################
|
#########################
|
||||||
db:
|
db:
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
|
hostname: db
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: zabbix
|
MYSQL_DATABASE: zabbix
|
||||||
MYSQL_USER: zabbix
|
MYSQL_USER: zabbix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user