-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
54 lines (49 loc) · 1.13 KB
/
docker-compose.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.7'
services:
czsc-streamlit_1:
image: czsc-streamlit:0.0.1
container_name: czsc-streamlit_1
volumes:
- data-volume:/app/market-data
- streamlit-config-volume:/app/.streamlit
expose:
- "80"
czsc-streamlit_2:
image: czsc-streamlit:0.0.1
container_name: czsc-streamlit_2
volumes:
- data-volume:/app/market-data
- streamlit-config-volume:/app/.streamlit
expose:
- "80"
czsc-streamlit_3:
image: czsc-streamlit:0.0.1
container_name: czsc-streamlit_3
volumes:
- data-volume:/app/market-data
- streamlit-config-volume:/app/.streamlit
expose:
- "80"
nginx:
image: nginx:latest
ports:
- "8500:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- czsc-streamlit_1
- czsc-streamlit_2
- czsc-streamlit_3
volumes:
data-volume:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: 'D:/data/czsc_streamlit-data'
streamlit-config-volume:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: 'D:/data/czsc_streamlit-config'