Update entrypoint command in docker-compose.yml

Change the -h parameter to use the database name specified in the .env file.
packetvitality 2022-03-03 17:46:00 -07:00 committed by GitHub
parent b6017838a3
commit 3c8e41cd4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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