-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
109 lines (103 loc) · 2.93 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: "3"
services:
nmea:
image: innovationgarage/geocloud_nmea:latest
environment:
CONFIG: |
{
"connections": [
{"handler": "source", "type": "listen", "address": "tcp:1024"},
{"handler": "destination", "type": "listen", "address": "tcp:1025"}
]
}
networks:
- geocloud
ports:
- "6024:1024"
gribannotator:
image: innovationgarage/gributils-annotator:0.11
environment:
CONFIG: |
{
"index": "http://gribindexer:1028",
"connections": [
{"handler": "source", "type": "connect", "address": "tcp:nmea:1025"},
{"handler": "destination", "type": "listen", "address": "tcp:1025"}
]
}
networks:
- geocloud
essink:
image: innovationgarage/geocloud_es:latest
environment:
CONFIG: |
{
"es_host" : "elasticsearch:9200",
"connections": [
{"handler": "source", "type": "connect", "address": "tcp:gribannotator:1025"}
],
"vessels_index": "",
"vessels_mapping": {
"mappings" : {
"_doc": {
"properties" : {
"mmsi": {
"type": "text"
}
}
}
}
},
"positions_index": "",
"positions_mapping": {
"mappings" : {
"_doc": {
"properties" : {
"location": {
"type": "geo_shape"
},
"mmsi": {
"type": "text"
}
}
}
}
}
}
networks:
- geocloud
gribindexer:
image: innovationgarage/gributils:0.11.0
networks:
- geocloud
environment:
ESURL: "http://elasticsearch:9200"
volumes:
- gribdata:/data
ports:
- "6028:1028"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-platinum:6.2.4
environment:
- http.host=0.0.0.0
- transport.host=127.0.0.1
- xpack.security.enabled=false
- cluster.routing.allocation.disk.threshold_enabled=false
- cluster.routing.allocation.disk.watermark.low=1024Mb
- cluster.routing.allocation.disk.watermark.high=512Mb
- cluster.routing.allocation.disk.watermark.flood_stage=512Mb
networks:
- geocloud
ports:
- "9200:9200"
volumes:
- esdata:/usr/share/elasticsearch/data
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
networks:
geocloud:
driver: bridge
volumes:
gribdata:
driver: local
esdata:
driver: local