-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
94 lines (93 loc) · 2.16 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
version: "3.6"
services:
web:
image: curationexperts/ucla2019:latest
depends_on:
- fedora
- redis
- solr
- fedora_test
- solr_test
environment:
DATABASE_HOST: db
FEDORA_HOST: http://fedora
FEDORA_PORT: 8080
FEDORA_DEV_URL: http://fedora:8080/rest
FEDORA_BASE_PATH: /dev
FEDORA_TEST_URL: http://fedora_test:8080/rest
FEDORA_TEST_BASE_PATH: /test
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_URL: redis://redis:6379/0
SOLR_URL: http://solr:8983/solr/ucla2019
SOLR_TEST_URL: http://solr_test:8983/solr/ucla2019
ports:
- "3000:3000"
volumes:
- .:/ucla2019:delegated
- data:/opt/data:delegated
- derivatives:/opt/derivatives:delegated
- uploads:/opt/uploads:delegated
- bundle_dir:/usr/local/bundle:delegated
- log:/ucla2019/log:delegated
- ucla2019_tmp:/ucla2019/tmp:delegated
- tmp:/tmp:delegated
working_dir: /ucla2019
stdin_open: true
tty: true
fedora:
image: nulib/fcrepo4:4.7.5
ports:
- "8984:8080"
volumes:
- fcrepo_data:/data
environment:
JAVA_OPTIONS: "-Xmx512m"
stdin_open: true
tty: true
fedora_test:
image: nulib/fcrepo4:4.7.5
ports:
- "8986:8080"
environment:
JAVA_OPTIONS: "-Xmx512m"
redis:
image: redis:4
volumes:
- redis_data:/data:delegated
ports:
- "6379:6379"
solr:
image: solr:7.7
volumes:
- solr_data:/opt/solr/server/solr/mycores
- ./solr/config:/opt/solr/server/solr/configsets/ucla2019
ports:
- "8983:8983"
entrypoint:
- solr-precreate
- ucla2019
- /opt/solr/server/solr/configsets/ucla2019
solr_test:
image: solr:7.7
volumes:
- solr_test_data:/opt/solr/server/solr/mycores:delegated
- ./solr/config:/opt/solr/server/solr/configsets/ucla2019:delegated
ports:
- "8985:8983"
entrypoint:
- solr-precreate
- ucla2019
- /opt/solr/server/solr/configsets/ucla2019
volumes:
data:
bundle_dir:
derivatives:
fcrepo_data:
log:
redis_data:
solr_data:
solr_test_data:
tmp:
ucla2019_tmp:
uploads: