-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (68 loc) · 1.84 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
version: '3.8'
services:
spatial_index_database:
build: ./databases_and_solr_configs/spatial_indexing
container_name: spatial_index_database
ports:
- "7474:7474"
- "7687:7687"
thematic_index_solr:
build: ./databases_and_solr_configs/thematic_indexing
container_name: thematic_index_solr
environment:
- SOLR_JAVA_MEM=-Xms4g -Xmx4g
entrypoint:
- bash
- "-c"
- "precreate-core dataset /opt/solr/server/solr/configsets/dataset; precreate-core resource /opt/solr/server/solr/configsets/resource; exec solr -f"
ports:
- "8983:8983"
temporal_index_database:
build: ./databases_and_solr_configs/temporal_indexing
container_name: temporal_index_database
ports:
- "5430:5432"
metadata_database:
build: ./databases_and_solr_configs/metadata_processor
container_name: metadata_database
ports:
- "5431:5432"
index_data:
build:
context: .
dockerfile: Dockerfile_index_data
container_name: index_data_tcc
restart: on-failure
external_links:
- spatial_index_database
- thematic_index_solr
- temporal_index_database
- metadata_database
volumes:
- /etc/localtime:/etc/localtime:ro
- ./index_data:/usr/src/app
depends_on:
- spatial_index_database
- thematic_index_solr
- temporal_index_database
- metadata_database
api_rest:
build:
context: .
dockerfile: Dockerfile_api_rest
container_name: api_rest_tcc
restart: on-failure
external_links:
- spatial_index_database
- thematic_index_solr
- temporal_index_database
- metadata_database
ports:
- "5000:5000"
volumes:
- ./api_rest:/usr/src/app
depends_on:
- spatial_index_database
- thematic_index_solr
- temporal_index_database
- metadata_database