feat(mysql): Set hostname
This commit is contained in:
parent
0a63da8de3
commit
fc1238bc2f
@ -46,6 +46,7 @@ services:
|
|||||||
mysql:
|
mysql:
|
||||||
image: "mysql:${MYSQL_VERSION}"
|
image: "mysql:${MYSQL_VERSION}"
|
||||||
container_name: "snipeit-mysql-${CONTEXT}"
|
container_name: "snipeit-mysql-${CONTEXT}"
|
||||||
|
hostname: "${MYSQL_ALIAS_DNS_NAME}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "mysqladmin" ,"ping", "--protocol", "tcp", "-h", "127.0.0.1"]
|
test: ["CMD", "mysqladmin" ,"ping", "--protocol", "tcp", "-h", "127.0.0.1"]
|
||||||
interval: 3s
|
interval: 3s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user