-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.yaml
41 lines (37 loc) · 960 Bytes
/
compose.yaml
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
services:
# The app container was removed because it's not used for deployment, and local development
# is often easier with the app running directly on the host machine. If an app container is
# useful, the PR for the issue that removed it might be a good starting point, see:
# https://github.com/sul-dlss/earthworks/issues/1037
db:
image: postgres:12.8
environment:
POSTGRES_USER: earthworks
POSTGRES_DB: earthworks
POSTGRES_PASSWORD: earthworks
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data
index:
image: solr:8.11.2
ports:
- "8983:8983"
volumes:
- index:/var/solr
- ./config/solr_configs:/solr-setup/conf
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- blacklight-core
- /solr-setup/conf
cache:
image: redis:6.2
ports:
- "6379:6379"
volumes:
- cache:/data
volumes:
db:
index:
cache: