-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
80 lines (72 loc) · 1.4 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
version: "3.6"
services:
web:
image: uclalibrary/californica:latest
depends_on:
- db
- fcrepo
- redis
- solr
# env_file:
# - ./.env.sample
environment:
DATABASE_HOST: db
ports:
- "3000:3000"
volumes:
- .:/hyrax
- ./data:/opt/data
- bundle_dir:/usr/local/bundle
- log:/hyrax/log
- tmp:/hyrax/tmp
working_dir: /hyrax
command: ["sh", "/hyrax/docker/start-app.sh"]
fcrepo:
image: nulib/fcrepo4:4.7.5
ports:
- "8984:8080"
volumes:
- fcrepo_data:/data
fcrepo_test:
image: nulib/fcrepo4:4.7.5
ports:
- "8986:8080"
db:
image: mysql:5.6
volumes:
- ./docker/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- mysql_data:/var/lib/mysql
ports:
- "3306:3306"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
# MYSQL_USER: hyrax
# MYSQL_PASSWORD: hyrax
redis:
image: redis:4
volumes:
- redis_data:/data
ports:
- "6379:6379"
solr:
build:
context: .
dockerfile: docker/Dockerfile.solr
volumes:
- solr_data:/opt/solr/server/solr/mycores/hyrax/data
ports:
- "8983:8983"
solr_test:
build:
context: .
dockerfile: docker/Dockerfile.solr
ports:
- "8985:8983"
volumes:
bundle_dir:
fcrepo_data:
log:
mysql_data:
redis_data:
solr_data:
tmp: