-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
41 lines (40 loc) · 1.2 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
version: "3.7"
services:
web:
image: code.cozy.town/codeforleipzig/stadtratmonitor/develop:latest
container_name: stadtratmonitor-web
volumes:
- .:/app/
ports:
- "127.0.0.1:3000:3000"
environment:
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
- APPLICATION_HOST=${APPLICATION_HOST:-localhost}
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
networks:
- stadtratmonitor
elasticsearch:
container_name: stadtratmonitor-elasticsearch
user: elasticsearch
build: ./docker/elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "127.0.0.1:9215:9200"
volumes:
- ${ESDATA:-esdata}:/usr/share/elasticsearch/data //read, write and execute
- ./docker/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
command: sh -c "/usr/share/elasticsearch/bin/elasticsearch"
networks:
- stadtratmonitor
elastichq:
container_name: stadtratmonitor-elastichq
image: elastichq/elasticsearch-hq
ports:
- "127.0.0.1:5000:5000"
volumes:
esdata:
networks:
stadtratmonitor: