We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a759f03 commit 1f673eeCopy full SHA for 1f673ee
deploy.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
-export image_hash=$1
3
-export tag=$2
+export IMAGE=$1
+export TAG=$2
4
echo echo "Take down old api version..." \
5
&& docker compose -f docker-compose-prod.yml down \
6
&& echo "Bring up new api version..." \
docker-compose-prod.yml
@@ -7,7 +7,7 @@ services:
7
- MEDIA_ROOT=/api/media
8
env_file:
9
- env/prod.env
10
- image: ${image}:${tag}
+ image: ${IMAGE}:${TAG}
11
ports:
12
- 8000:8000
13
secrets:
@@ -25,7 +25,7 @@ services:
25
26
27
28
29
30
- firebase-credentials
31
volumes:
0 commit comments