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