From 1b283c6bb884ae471b71a6285326ac3ab9706d5b Mon Sep 17 00:00:00 2001 From: Pedro Sanders Date: Sun, 24 Jul 2022 17:49:53 -0400 Subject: [PATCH] chore: reverted compose cmd to legacy one --- operator/compose/basic-network.sh | 2 +- operator/compose/vault-unseal.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/operator/compose/basic-network.sh b/operator/compose/basic-network.sh index c9a3ec7f1..36ae4dd30 100755 --- a/operator/compose/basic-network.sh +++ b/operator/compose/basic-network.sh @@ -63,7 +63,7 @@ function basic_network() { fi done - COMPOSE_CMD="docker compose --env-file .env ${COMPOSE_FILES[*]}" + COMPOSE_CMD="docker-compose --env-file .env ${COMPOSE_FILES[*]}" case $1 in start) diff --git a/operator/compose/vault-unseal.sh b/operator/compose/vault-unseal.sh index 7f7c86a9d..e1f6d5854 100755 --- a/operator/compose/vault-unseal.sh +++ b/operator/compose/vault-unseal.sh @@ -1,10 +1,10 @@ #!/bin/bash -# Replace with your own keys, but keep in mind that this is a bad idea -# for production environments -KEY1=tuSoeBR3xkKwb2VtOFCKadA3TOu5GSiu2/jUvBxBbfvd -KEY2=vc3w+pwKz3hRDxkXQZieZLnDA16dX+bxwGyE2Uu2e0ha -KEY3=ARwmV6h/m4nyCdXdOvlNR8yzlb4M2u/lVZKHIEQ7H8vI +# Enter Vault keys in the environment variables bellow, +# and keep in mind that this is a bad idea for production environments +KEY1= +KEY2= +KEY3= KEYS=(${KEY1} ${KEY2} ${KEY3}) # Find the container name for vault instance