Spaces:
Sleeping
Sleeping
File size: 557 Bytes
40f2bca | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 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
|