forked from lbcclib/community_archive
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
82 lines (75 loc) · 1.89 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
version: '3'
services:
app:
# command: sh -l -c "bundle && bundle exec puma -v -b tcp://0.0.0.0:3000"
build:
context: .
dockerfile: .docker/Dockerfile.app
args:
- BUNDLE_WITHOUT=production
volumes:
- .:/app/samvera/hyrax-webapp:cached
- hyrax-derivatives:/app/samvera/hyrax-webapp/derivatives
- hyrax-uploads:/app/samvera/hyrax-webapp/uploads
- rails-public:/app/samvera/hyrax-webapp/public
- rails-tmp:/app/samvera/hyrax-webapp/tmp
depends_on:
- db
- solr
- fcrepo
environment:
- FCREPO_HOST=fcrepo
- FCREPO_PORT=8080
- FCREPO_BASE_PATH=''
- SOLR_URL=http://solr:8983/solr/hydra-development
ports:
- "3000:3000"
worker:
build:
context: .
dockerfile: .docker/Dockerfile.worker
args:
- BUNDLE_WITHOUT=production
volumes:
- .:/app/samvera/hyrax-webapp:cached
- hyrax-derivatives:/app/samvera/hyrax-webapp/derivatives
- hyrax-uploads:/app/samvera/hyrax-webapp/uploads
- worker-public:/app/samvera/hyrax-webapp/public
- worker-tmp:/app/samvera/hyrax-webapp/tmp
depends_on:
- redis
environment:
- FCREPO_HOST=fcrepo
- FCREPO_PORT=8080
- FCREPO_BASE_PATH=''
- SOLR_URL=http://solr:8983/solr/hydra-development
db:
image: postgres:12-alpine
environment:
- POSTGRES_DB=commarch
- POSTGRES_USER=commarch
- POSTGRES_PASSWORD=commarch
redis:
image: redis:alpine
solr:
image: solr:6.5.1
volumes:
- ./solr/conf:/opt/solr/conf
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- hydra-development
- /opt/solr/conf
ports:
- "8983:8983"
fcrepo:
image: ghcr.io/samvera/fcrepo4:4.7.5
ports:
- 8080:8080
volumes:
hyrax-derivatives:
hyrax-uploads:
rails-public:
rails-tmp:
worker-public:
worker-tmp: