From 3c8e41cd4f188c624a66a0e9c91546d03ae76e1e Mon Sep 17 00:00:00 2001 From: packetvitality <45752781+packetvitality@users.noreply.github.com> Date: Thu, 3 Mar 2022 17:46:00 -0700 Subject: [PATCH] Update entrypoint command in docker-compose.yml Change the -h parameter to use the database name specified in the .env file. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e5d118b..632f2b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,7 +25,7 @@ services: - MISP_BASEURL=${MISP_BASEURL} - POSTFIX_RELAY_HOST=${POSTFIX_RELAY_HOST} - TIMEZONE=${TIMEZONE} - entrypoint: "wait-for-it.sh -t 0 -h db -p 3306 -- /run.sh" + entrypoint: "wait-for-it.sh -t 0 -h ${MYSQL_DATABASE} -p 3306 -- /run.sh" db: container_name: misp_db