Skip to content

Commit

Permalink
Set API and Uploader image versions with environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
youngest committed Nov 16, 2021
1 parent 73b1b4e commit 0b29bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"
services:
api:
image: "$DOCKER_REGISTRY/mlmodelscope-api:1.0"
image: "$DOCKER_REGISTRY/mlmodelscope-api:$API_VERSION"

environment:
- C3SR_REGISTRY_ENDPOINTS=registry:8500
Expand Down Expand Up @@ -33,6 +33,6 @@ services:
- "9411:9411"

uploader:
image: "$DOCKER_REGISTRY/mlmodelscope-uploader:1.0"
image: "$DOCKER_REGISTRY/mlmodelscope-uploader:$UPLOADER_VERSION"
ports:
- "8089:80"

0 comments on commit 0b29bbc

Please sign in to comment.