Commit 83830fbf authored by Nils Mittler's avatar Nils Mittler 🕵🏼
Browse files

Always set compose project name

parent 8121dde7
......@@ -177,6 +177,8 @@ function createEnvironments {
}
function createConfigs {
echo "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}" > .env
if [ -z ${PROD} ]; then
cp configs/rabbitmq_plugins.dev configs/rabbitmq_plugins
cp configs/nginx.dev configs/nginx.conf
......@@ -192,7 +194,6 @@ function createConfigs {
openssl dhparam -out secrets/dhparam-4096.pem 4096
fi
echo "COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}" > .env
echo "PRIV_SSL_KEY_LOCATION=${SSL_PRIV_KEY}" >> .env
echo "PUB_SSL_KEY_LOCATION=${SSL_PUB_KEY}" >> .env
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment