-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
59 lines (54 loc) · 1.13 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
web:
build: .
command: bundle exec rails server -b 0.0.0.0
ports:
- "3000:3000"
volumes:
- .:/app
links:
- database
- elasticsearch
- tika
- redis
environment:
RACK_ENV: development
DATABASE_URL: postgres://sehrgutachten:@database/sehrgutachten
ELASTICSEARCH_URL: http://elasticsearch:9200/
TIKA_SERVER_URL: http://tika:9998
REDIS_URL: redis://redis:6379
SIDEKIQ_WEB_OPEN: "true"
worker:
build: .
command: bundle exec sidekiq -q default -c 5
volumes:
- .:/app
links:
- database
- elasticsearch
- tika
- redis
environment:
RACK_ENV: development
DATABASE_URL: postgres://sehrgutachten:@database/sehrgutachten
ELASTICSEARCH_URL: http://elasticsearch:9200/
TIKA_SERVER_URL: http://tika:9998
REDIS_URL: redis://redis:6379
database:
image: postgres:9.4
environment:
POSTGRES_USER: sehrgutachten
ports:
- 5432
elasticsearch:
image: elasticsearch:2.2
command: elasticsearch -Des.http.cors.enabled=true
ports:
- 9200
tika:
image: logicalspark/docker-tikaserver
ports:
- 9998
redis:
image: redis:3.0
ports:
- 6379