Skip to content

Commit 5f20e20

Browse files
committed
Merge pull request #75 in CATS/pyclowder2 from BD-2226-add-docker-compose-file-to-pyclowder2 to develop
* commit '184bff6755b01cc7ce2d53e05d513bcc426973a4': Updated changelog. Added Docker Compose file.
2 parents 10c3dc3 + 184bff6 commit 5f20e20

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## Unreleased
8+
9+
### Added
10+
- Docker compose file for starting up the Clowder stack [BD-2226](https://opensource.ncsa.illinois.edu/jira/browse/BD-2226)
11+
712
## 2.1.1 - 2018-07-12
813

914
### Fixed

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)