Created
May 28, 2025 07:57
-
-
Save initcron/960d2fe87ac73454d4be90a20783ea35 to your computer and use it in GitHub Desktop.
Docker Compose spec for FastAPI and Streamlit
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
services: | |
fastapi: | |
image: docker.io/xxxxxx/fastapi:dev. | |
build: | |
context: "./" | |
dockerfile: "Dockerfile" | |
ports: | |
- "8000:8000" | |
streamlit: | |
image: docker.io/xxxxxx/streamlit:dev | |
build: | |
context: "streamlit_app/" | |
dockerfile: "Dockerfile" | |
ports: | |
- "8501:8501" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment