-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
107 lines (107 loc) · 1.86 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '2'
services:
web:
build: docker/web
image: hyrax_web
ports:
- "3000:3000"
volumes:
- .:/opt/hyrax
- gems:/opt/bundle
depends_on:
- db
- db_test
- redis
- fcrepo
- solr
- cas
- ldap
environment:
RAILS_ENV: development
HYRAX_DB_HOST: db
worker:
image: hyrax_web
depends_on:
- db
- redis
- web
volumes_from:
- web
environment:
RAILS_ENV: development
HYRAX_REDIS_HOST: redis
HYRAX_REDIS_PORT: 6379
HYRAX_URL: http://web:3000
QUEUE: "*"
command: sidekiq
db:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: hyrax
volumes:
- pgdata:/var/lib/postgresql/data
fcrepo_db:
image: postgres
ports:
- "5434:5432"
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: fcrepo
volumes:
- fcrepo_db:/var/lib/postgresql/data
db_test:
image: postgres
ports:
- "5433:5432"
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
POSTGRES_DB: hyrax
redis:
image: redis
command: redis-server --appendonly yes
ports:
- "6379:6379"
volumes:
- redis:/data
solr:
build: docker/solr
ports:
- "8983:8983"
volumes:
- solr:/opt/solr/server/solr/mycores
fcrepo:
build: docker/fcrepo
ports:
- "8984:8984"
depends_on:
- fcrepo_db
volumes:
- fcrepo:/opt/fcrepo/data
cas:
build: docker/cas
ports:
- "8443:8443"
- "8080:8080"
depends_on:
- ldap
ldap:
build: docker/ldap
ports:
- "389:389"
- "636:636"
volumes:
fcrepo:
fcrepo_db:
gems:
pgdata:
redis:
solr:
networks:
default:
driver: bridge