stadtratmonitor/docker-compose.yml

41 lines
1.2 KiB
YAML
Raw Normal View History

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
volumes:
2023-05-10 22:08:36 +02:00
- .:/app/
ports:
2023-05-10 22:08:36 +02:00
- "127.0.0.1:3000:3000"
environment:
- 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
elasticsearch:
2023-05-10 22:08:36 +02:00
container_name: stadtratmonitor-elasticsearch
user: elasticsearch
build: ./docker/elasticsearch
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
2023-05-10 22:08:36 +02:00
- "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"
2023-05-10 22:08:36 +02:00
networks:
- stadtratmonitor
elastichq:
2023-05-10 22:08:36 +02:00
container_name: stadtratmonitor-elastichq
image: elastichq/elasticsearch-hq
ports:
2023-05-10 22:08:36 +02:00
- "127.0.0.1:5000:5000"
volumes:
esdata:
2023-05-10 22:08:36 +02:00
networks:
stadtratmonitor: