audioSentiment / docker-compose.yml
temp12821's picture
basic flask and streamlit with dockerfile
40f2bca
raw
history blame contribute delete
557 Bytes
version: '3.8'
services:
flask:
build: .
container_name: flask-api
command: python flask_app.py
ports:
- "5000:5000"
networks:
- app-network
environment:
- FLASK_ENV=development
streamlit:
build: .
container_name: streamlit-app
command: streamlit run streamlit_app.py --server.address 0.0.0.0
ports:
- "8501:8501"
networks:
- app-network
depends_on:
- flask
environment:
- FLASK_URL=http://flask:5000/helloworld
networks:
app-network:
driver: bridge