forked from AtlasOfLivingAustralia/biocache-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (48 loc) · 1.18 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
# For ingesting data with pipelines
networks:
local:
external: true
services:
cassandra:
image: cassandra:3.11
environment:
MAX_HEAP_SIZE: 128M
HEAP_NEWSIZE: 24M
ports:
- "9042:9042"
volumes:
- db_cassandra:/var/lib/cassandra
solr:
image: ghcr.io/biodiversitydata-se/biocache-solr:1.0.1
#image: sbdi/biocache-solr-dev
environment:
SOLR_HEAP: 4g
SOLR_OPTS: "-Dlog4j2.formatMsgNoLookups=true"
SOLR_PORT: "8983"
SOLR_HOST: "localhost"
#SOLR_HOST: "solr"
ZOO_PORT: "9983"
ZOO_HOST: "localhost"
#ZOO_HOST: "solr"
#build:
# context: ../biocache-solr
ports:
- "8983:8983"
- "9983:9983"
volumes:
- data_solr:/var/solr
# Enable when ingesting data with pipelines
#networks:
# - local
biocache-service:
image: sbdi/biocache-service-dev
build:
context: .
ports:
- "8081:8080"
volumes:
- ./sbdi/data/config/biocache-config.properties:/data/biocache/config/biocache-config.properties
- ./sbdi/data/config/logger-client.properties:/data/logger-client/config/logger-client.properties
volumes:
db_cassandra:
data_solr: