changelog-server/docker-compose.yml
2020-05-16 01:24:56 +02:00

35 lines
640 B
YAML

version: '3.3'
volumes:
db:
external: false
services:
es:
env_file: .env
image: blacktop/elasticsearch:7.7
command: ["elasticsearch", "-Elogger.level=ERROR"]
volumes:
- infradb:/opt
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- db:/usr/share/elasticsearch/data
app:
env_file: .env
build: .
image: albancrommer/changelog-server:latest
ports:
- "3000:3000"
depends_on:
- es