-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
42 lines (41 loc) · 1.03 KB
/
docker-compose.yaml
File metadata and controls
42 lines (41 loc) · 1.03 KB
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
version: "3.7"
services:
redis:
build:
context: ./redis_server/
dockerfile: Dockerfile
image: nlu_redis_dummy
container_name: nluredisdummy
restart: always
volumes:
- "./LocalStorage/redis:/app/LocalStorage"
expose:
- 6379
ports:
- "6379:6379"
master:
build:
context: ./master
dockerfile: Dockerfile
image: master_image
container_name: master_container
restart: always
volumes:
- "./LocalStorage/master:/app/LocalStorage"
depends_on:
- redis
ports:
- "10050:10050"
worker:
build:
context: ./worker
dockerfile: Dockerfile
image: worker_image
container_name: worker_container
restart: always
environment:
- task_name=test
volumes:
- "./LocalStorage/worker:/app/LocalStorage"
depends_on:
- redis