-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
87 lines (77 loc) · 2.1 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3.5'
services:
# ----------------------------------------------------------------------
# EXTRACTOR
# ----------------------------------------------------------------------
extractor:
image: aifarms/extractors-coco
build: .
networks:
- clowder
environment:
- HEARTBEAT=10
- RABBITMQ_URI=amqp://guest:guest@rabbitmq/%2F
# ----------------------------------------------------------------------
# CLOWDER + DEPENDENCIES
# ----------------------------------------------------------------------
clowder:
image: clowder/clowder
restart: unless-stopped
networks:
- clowder
ports:
- 9000:9000
depends_on:
- mongo
environment:
- RABBITMQ_URI=amqp://guest:guest@rabbitmq/%2F
volumes:
- clowder-custom:/home/clowder/custom
- clowder-data:/home/clowder/data
# database to hold metadata (required)
mongo:
image: mongo:3.6
restart: unless-stopped
networks:
- clowder
volumes:
- mongo:/data/db
# message broker (optional but needed for extractors)
rabbitmq:
image: rabbitmq:management-alpine
restart: unless-stopped
networks:
- clowder
ports:
- 5672:5672
- 15672:15672
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
volumes:
- rabbitmq:/var/lib/rabbitmq
# monitor clowder extractors
monitor:
image: clowder/monitor
restart: unless-stopped
networks:
- clowder
depends_on:
- rabbitmq
environment:
- RABBITMQ_URI=amqp://guest:guest@rabbitmq/%2F
- RABBITMQ_MGMT_PORT=15672
# ----------------------------------------------------------------------
# NETWORK FOR CONTAINER COMMUNICATION
# ----------------------------------------------------------------------
networks:
clowder:
# ----------------------------------------------------------------------
# VOLUMES FOR PERSISTENT STORAGE
# ----------------------------------------------------------------------
volumes:
clowder-data:
clowder-custom:
mongo:
rabbitmq: