-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
57 lines (53 loc) · 1.19 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
version: '3'
services:
app:
build: .
volumes:
- .:/var/www/findit/
environment:
- FINDIT_DATABASE_HOST=db
- FINDIT_TEST_DATABASE_HOST=test_db
- FINDIT_DATABASE_NAME=findit
- FINDIT_DATABASE_USERNAME=findit
- FINDIT_DATABASE_PASSWORD=findit
- SOLR_URL=http://solr:8983/solr/blacklight-core
ports:
- "3000:3000"
db:
image: postgres:12-alpine
environment:
- POSTGRES_DB=findit
- POSTGRES_USER=findit
- POSTGRES_PASSWORD=findit
indexer:
build:
context: .
dockerfile: .docker/Indexer.Dockerfile
volumes:
- .:/var/www/findit/
environment:
- SOLR_URL=http://solr:8983/solr/blacklight-core
depends_on:
- solr
profiles: ["indexer"]
test_db:
image: postgres:12-alpine
environment:
- POSTGRES_DB=findit
- POSTGRES_USER=findit
- POSTGRES_PASSWORD=findit
solr:
image: solr:8
volumes:
- ./solr/conf:/opt/solr/conf
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- blacklight-core
- /opt/solr/conf
- "-Xms256m"
- "-Xmx512m"
ports:
- "8983:8983"
memcached:
image: memcached:alpine