2020-01-16 11:20:03 +01:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
web:
|
2023-05-10 22:08:36 +02:00
|
|
|
image: code.cozy.town/codeforleipzig/stadtratmonitor/develop:latest
|
|
|
|
container_name: stadtratmonitor-web
|
2020-01-16 11:20:03 +01:00
|
|
|
volumes:
|
2023-05-10 22:08:36 +02:00
|
|
|
- .:/app/
|
2020-01-16 11:20:03 +01:00
|
|
|
ports:
|
2023-05-10 22:08:36 +02:00
|
|
|
- "127.0.0.1:3000:3000"
|
2020-01-16 11:20:03 +01:00
|
|
|
environment:
|
2023-05-02 10:31:13 +02:00
|
|
|
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
|
|
|
|
- APPLICATION_HOST=${APPLICATION_HOST:-localhost}
|
2023-04-29 22:58:51 +02:00
|
|
|
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
|
2023-05-10 22:08:36 +02:00
|
|
|
networks:
|
|
|
|
- stadtratmonitor
|
2020-01-16 11:20:03 +01:00
|
|
|
elasticsearch:
|
2023-05-10 22:08:36 +02:00
|
|
|
container_name: stadtratmonitor-elasticsearch
|
2023-04-16 12:52:38 +02:00
|
|
|
user: elasticsearch
|
2020-01-16 11:20:03 +01:00
|
|
|
build: ./docker/elasticsearch
|
|
|
|
environment:
|
|
|
|
- discovery.type=single-node
|
2023-04-16 12:52:38 +02:00
|
|
|
- bootstrap.memory_lock=true
|
|
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
2020-01-16 11:20:03 +01:00
|
|
|
ports:
|
2023-05-10 22:08:36 +02:00
|
|
|
- "127.0.0.1:9215:9200"
|
2020-01-16 11:20:03 +01:00
|
|
|
volumes:
|
2023-05-02 10:31:13 +02:00
|
|
|
- ${ESDATA:-esdata}:/usr/share/elasticsearch/data //read, write and execute
|
2023-04-16 12:52:38 +02:00
|
|
|
- ./docker/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
|
|
|
|
command: sh -c "/usr/share/elasticsearch/bin/elasticsearch"
|
2023-05-10 22:08:36 +02:00
|
|
|
networks:
|
|
|
|
- stadtratmonitor
|
2020-01-16 11:20:03 +01:00
|
|
|
elastichq:
|
2023-05-10 22:08:36 +02:00
|
|
|
container_name: stadtratmonitor-elastichq
|
2020-01-16 11:20:03 +01:00
|
|
|
image: elastichq/elasticsearch-hq
|
|
|
|
ports:
|
2023-05-10 22:08:36 +02:00
|
|
|
- "127.0.0.1:5000:5000"
|
2023-04-16 12:52:38 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
esdata:
|
2023-05-10 22:08:36 +02:00
|
|
|
networks:
|
|
|
|
stadtratmonitor:
|