-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (56 loc) · 1.17 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
version: "3.8"
services:
parser:
build:
context: .
dockerfile: modules/dockerfiles/parser.Dockerfile
environment:
- LOG_LEVEL=$LOG_LEVEL
container_name: module_parser
volumes:
- images:/images
networks:
- base-network
depends_on:
- "nats-server"
image_handler:
build:
context: .
dockerfile: modules/dockerfiles/image_handler.Dockerfile
environment:
- LOG_LEVEL=$LOG_LEVEL
container_name: module_image_handler
volumes:
- images:/images
networks:
- base-network
depends_on:
- "nats-server"
classifier:
build:
context: .
dockerfile: modules/dockerfiles/classifier.Dockerfile
environment:
- LOG_LEVEL=$LOG_LEVEL
container_name: module_classifier
volumes:
- images:/images
networks:
- base-network
depends_on:
- "nats-server"
nats-server:
image: "nats:latest"
#command: -DV # enable this for debug and trace
container_name: nats-server
ports:
- "4222:4222"
- "8222:8222"
- "6222:6222"
networks:
- base-network
networks:
base-network:
driver: bridge
volumes:
images: