-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (49 loc) · 1.02 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
version: '3'
services:
osmquery:
build:
context: ./apis/osmquery
dockerfile: Dockerfile
ports:
- "3000:5000"
restart: "always"
env_file:
- ./.env
central_nlp:
build:
context: ./apis/kid2-spot-central-nlp-api
dockerfile: Dockerfile
ports:
- "4000:8080"
restart: "always"
env_file:
- ./.env
osmtagsearch:
build:
context: ./apis/osmtagsearch
dockerfile: Dockerfile
ports:
- "5000:8080"
restart: "always"
env_file:
- ./.env
volumes:
- ./volumes/osmtagsearch/model:/app/model
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.6.2
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- ES_JAVA_OPTS=-Xmx8g
ports:
- "9200:9200"
restart: "always"
env_file:
- ./.env
networks:
- elastic
volumes:
- ./volumes/osmtagsearch/es_data:/usr/share/elasticsearch/data
user: 1000:1000
networks:
elastic: