MISP / x_old_misp_docker

MISP Docker (XME edition)
284 stars 172 forks source link

Update run.sh to include fixing database name in config.php #136

Closed ktb-jcm closed 2 years ago

ktb-jcm commented 2 years ago

If for any reason the name of the database for using misp isn't named "misp", connectivity will fail because database.php does not get updated with the correct name from .env

Ran into this when using a forked version of this project where the web container is run in Docker but MySQL database is running in prod database cluster and required a specific naming convention.

Other parameters in .env are also not updated or translated into database.php

ktb-jcm commented 2 years ago

This has been a source of pain for me this week. :(

adulau commented 2 years ago

Great finding! Thank you.

ktb-jcm commented 2 years ago

@adulau My pleasure, :)