Created
August 25, 2022 10:13
-
-
Save marvinhoxha/a32212f787ee7504438cebeeed151bc6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.9" | |
services: | |
tfserve: | |
image: tensorflow/serving | |
ports: | |
- 8501:8501 | |
environment: | |
MODEL_NAME: dog_model | |
volumes: | |
- ./models/dog_model:/models/dog_model | |
depends_on: | |
- streamlit-tfserve | |
streamlit-tfserve: | |
build: | |
context: . | |
dockerfile: Dockerfile.streamlit | |
args: | |
CONFIG: TENSORFLOW | |
ENV: COMPOSE | |
image: streamlit:minikube | |
ports: | |
- 8502:8502 | |
volumes: | |
- ./models:/app/models | |
streamlit-seldon: | |
build: | |
context: . | |
dockerfile: Dockerfile.streamlit | |
args: | |
CONFIG: SELDON | |
ENV: COMPOSE | |
image: streamlit:minikube | |
ports: | |
- 8502:8502 | |
volumes: | |
- ./models:/app/models | |
seldon: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
ports: | |
- "9000:9000" | |
depends_on: | |
- streamlit-seldon | |
volumes: | |
- ./models:/models |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment