-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
66 lines (65 loc) · 1.21 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
version: "2"
services:
api:
build: .
command: lein run :nrepl :api :deposit-api
links:
- mongo
- solr
environment:
- MONGO_HOST
- SOLR_HOST=${CAYENNE_SOLR_HOST}
- API_PORT=3000
- NREPL_PORT=7880
ports:
- 80:3000
- 7880:7880
indexer:
build: .
command: lein run :nrepl :index
environment:
- MONGO_HOST
- SOLR_HOST=${CAYENNE_SOLR_HOST}
- NREPL_PORT=7881
links:
- mongo
ports:
- 7881
updater:
build: .
command: lein run :nrepl :update-members :update-journals :update-funders
environment:
- MONGO_HOST
- SOLR_HOST=${CAYENNE_SOLR_HOST}
- NREPL_PORT=7882
links:
- mongo
ports:
- 7882
feeder:
build: .
command: lein run :nrepl :api :feed-api :process-feed-files
environment:
- MONGO_HOST
- SOLR_HOST=${CAYENNE_SOLR_HOST}
- NREPL_PORT=7883
- API_PORT=3001
links:
- mongo
ports:
- 80:3001
- 7883
tmpfs:
- /tmp
mongo:
image: mongo
ports:
- 27017:27017
solr:
image: crossref/cayenne-solr
ports:
- 8983:8983
networks:
default:
external:
name: cayenne_default