Skip to content

Commit 6af5e94

Browse files
committed
Add env file to docker compose down command
1 parent ab4b2d3 commit 6af5e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ export ENV_FILE=$1
33
export IMAGE=$2
44
export TAG=$3
55
echo echo "Take down old api version..." \
6-
&& docker compose -f docker-compose-prod.yml down \
6+
&& docker compose -f docker-compose-prod.yml --env-file $ENV_FILE down \
77
&& echo "Bring up new api version..." \
88
&& docker compose -f docker-compose-prod.yml -p go-capture-api --env-file $ENV_FILE up -d

0 commit comments

Comments
 (0)