Browse Source

fix(docker-compose.yml): check correct filepath (#85602)

Add `config/` to the path in the `if`-checks in `docker-compose` documentation.
Rune Antonsen 3 years ago
parent
commit
ce4c00f898
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/setup/install/docker/docker-compose.yml

+ 2 - 2
docs/reference/setup/install/docker/docker-compose.yml

@@ -15,12 +15,12 @@ services:
           echo "Set the KIBANA_PASSWORD environment variable in the .env file";
           exit 1;
         fi;
-        if [ ! -f certs/ca.zip ]; then
+        if [ ! -f config/certs/ca.zip ]; then
           echo "Creating CA";
           bin/elasticsearch-certutil ca --silent --pem -out config/certs/ca.zip;
           unzip config/certs/ca.zip -d config/certs;
         fi;
-        if [ ! -f certs/certs.zip ]; then
+        if [ ! -f config/certs/certs.zip ]; then
           echo "Creating certs";
           echo -ne \
           "instances:\n"\