-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
60 lines (54 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
55
56
57
58
59
60
version: '3'
x-base-app-conf: &base_app_conf
env_file: .env
stdin_open: true
tty: true
services:
streamlit_app:
<<: *base_app_conf
image: streamlit_app:latest
build:
context: .
dockerfile: streamlit_app/Dockerfile
container_name: streamlit_app
ports:
- '8001:8501'
volumes:
- './streamlit_app:/app'
- './common:/app/common'
dash_app:
<<: *base_app_conf
image: dash_app:latest
build:
context: .
dockerfile: dash_app/Dockerfile
container_name: dash_app
ports:
- '8002:8050'
volumes:
- './dash_app:/app'
- './common:/app/common'
panel_app:
<<: *base_app_conf
image: panel_app:latest
build:
context: .
dockerfile: panel_app/Dockerfile
container_name: panel_app
ports:
- '8003:5006'
volumes:
- './panel_app:/app'
- './common:/app/common'
redis:
image: redis:latest
command: redis-server
container_name: redis
volumes:
- redis:/var/lib/redis
- redis-config:/usr/local/etc/redis/redis.conf
ports:
- 6379:6379
volumes:
redis:
redis-config: