Skip to content

Commit 1cc6605

Browse files
committed
Added Docker Compose file.
1 parent 1d5a551 commit 1cc6605

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

docker-compose.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
version: "3.5"
2+
3+
services:
4+
# clowder application
5+
clowder:
6+
image: clowder/clowder:latest
7+
ports:
8+
- 9000:9000
9+
networks:
10+
- clowder
11+
volumes:
12+
- clowder-custom:/home/clowder/custom
13+
- clowder-data:/home/clowder/data
14+
restart: unless-stopped
15+
deploy:
16+
mode: replicated
17+
restart_policy:
18+
condition: any
19+
depends_on:
20+
- mongo
21+
- rabbitmq
22+
- elasticsearch
23+
24+
# mongo database used to store metadata/data
25+
mongo:
26+
image: mongo:3.4
27+
networks:
28+
- clowder
29+
ports:
30+
- 27017
31+
volumes:
32+
- mongo:/data/db
33+
restart: unless-stopped
34+
deploy:
35+
mode: replicated
36+
restart_policy:
37+
condition: any
38+
39+
# rabbitmq to connect to extractors
40+
rabbitmq:
41+
image: rabbitmq:management-alpine
42+
networks:
43+
- clowder
44+
ports:
45+
- 5672
46+
- 15672
47+
volumes:
48+
- rabbitmq:/var/lib/rabbitmq
49+
restart: unless-stopped
50+
deploy:
51+
mode: replicated
52+
restart_policy:
53+
condition: any
54+
55+
# elasticsearch to allow indexing
56+
elasticsearch:
57+
image: elasticsearch:2
58+
command: elasticsearch -Des.cluster.name="clowder"
59+
networks:
60+
- clowder
61+
ports:
62+
- 9200
63+
- 9300
64+
volumes:
65+
- elasticsearch:/usr/share/elasticsearch/data
66+
restart: unless-stopped
67+
deploy:
68+
mode: replicated
69+
restart_policy:
70+
condition: any
71+
72+
networks:
73+
clowder:
74+
75+
volumes:
76+
clowder-data:
77+
clowder-custom:
78+
mongo:
79+
rabbitmq:
80+
elasticsearch:

0 commit comments

Comments
 (0)