-
Notifications
You must be signed in to change notification settings - Fork 36
/
docker-compose.yml
46 lines (42 loc) · 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
version: '3'
services:
lookingglass:
image: lookingglass
command: bundle exec rails server -p 3001 -b '0.0.0.0'
volumes:
- ../LookingGlass:/lookingglass
ports:
- '3001:3001'
stdin_open: true
tty: true
environment:
- DOCMANAGER_URL=http://docmanager:3000
links:
- docmanager
docmanager:
image: transparencytoolkit/docmanager
command: bundle exec rails server -p 3000 -b '0.0.0.0'
volumes:
- ../DocManager/DocManager:/docmanager
ports:
- '3000:3000'
stdin_open: true
tty: true
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
links:
- mongo
- elasticsearch
mongo:
image: mongo
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
environment:
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- "ES_JAVA_OPTS=-Xms2048m -Xmx2048m"
volumes:
- esdata:/usr/share/elasticsearch/data
volumes:
esdata:
driver: local