Merge pull request #78 from pemontto/fix-cakeresque

Replace redis host 127.0.0.1 in cake config
pull/1/head
Jason Kendall 2020-12-29 18:04:16 -05:00 committed by GitHub
commit 0e0c783545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@ ENTRYPOINT_PID_FILE="/entrypoint_apache.install"
setup_cake_config(){
sed -i "s/'host' => 'localhost'.*/'host' => '$REDIS_FQDN', \/\/ Redis server hostname/" "/var/www/MISP/app/Plugin/CakeResque/Config/config.php"
sed -i "s/'host' => '127.0.0.1'.*/'host' => '$REDIS_FQDN', \/\/ Redis server hostname/" "/var/www/MISP/app/Plugin/CakeResque/Config/config.php"
}
init_misp_config(){
@ -186,7 +187,7 @@ if [[ "$WARNING53" == true ]]; then
echo "This needs to be changed to /etc/nginx/certs."
echo "See: https://github.com/coolacid/docker-misp/issues/53"
echo "WARNING - WARNING - WARNING"
fi
fi
# Start NGINX
nginx -g 'daemon off;'