From 79d8d64e3ce5259ef0aad00477d0246d163fb8d9 Mon Sep 17 00:00:00 2001 From: ryardley Date: Wed, 11 Dec 2024 21:03:43 +1100 Subject: [PATCH] Try using the --env-file arg --- .deploy/deploy.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.deploy/deploy.sh b/.deploy/deploy.sh index cf7eff7c..31d216a2 100755 --- a/.deploy/deploy.sh +++ b/.deploy/deploy.sh @@ -5,9 +5,4 @@ if [ ! -f "./.deploy/.env" ]; then exit 1 fi -# Source the environment file -set -a # automatically export all variables -source .deploy/.env -set +a # turn off auto-export - -docker stack deploy -c .deploy/docker-compose.yml enclave-stack --detach=false +docker stack deploy -c .deploy/docker-compose.yml --env-file .deploy/.env enclave-stack --detach=false