Skip to content

Commit

Permalink
better env care
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Apr 11, 2023
1 parent be1e4cb commit 8b24513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .docker-compose.elastic8.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
ELASTIC_PASSWORD=secretsecret
KIBANA_PASSWORD=kibanakibana

ELASTIC_PASSWORD=
KIBANA_PASSWORD=
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ services:
command: >
bash -c '
if [ x$${ELASTIC_PASSWORD} == x ]; then
echo "Set the ELASTIC_PASSWORD environment variable in the .env file";
echo "Set the ELASTIC_PASSWORD environment variable in the .docker-compose.elastic8.env file";
exit 1;
elif [ x$${KIBANA_PASSWORD} == x ]; then
echo "Set the KIBANA_PASSWORD environment variable in the .env file";
echo "Set the KIBANA_PASSWORD environment variable in the .docker-compose.elastic8.env file";
exit 1;
fi;
if [ ! -f config/certs/ca.zip ]; then
Expand Down

0 comments on commit 8b24513

Please sign in to comment.