generated from ks6088ts/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
25 lines (25 loc) · 766 Bytes
/
compose.yaml
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
services:
backend:
build:
context: .
dockerfile: dockerfiles/backend.Dockerfile
image: ks6088ts/azure-ai-services-solutions:backend-latest
command: python main.py backend --port 8888 --debug
ports:
- 8888:8888
volumes:
- ./settings:/app/settings
environment:
- PYTHONUNBUFFERED=1
frontend:
build:
context: .
dockerfile: dockerfiles/frontend.Dockerfile
image: ks6088ts/azure-ai-services-solutions:frontend-latest
command: streamlit run main.py --server.port=8501 --server.address=0.0.0.0 -- frontend --solution-name sandbox --backend-url http://backend:8888 --debug
ports:
- 8501:8501
volumes:
- ./settings:/app/settings
environment:
- PYTHONUNBUFFERED=1