Skip to content

Commit

Permalink
Try using the --env-file arg
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Dec 11, 2024
1 parent 4d92cd3 commit 79d8d64
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 79d8d64

Please sign in to comment.