2020-05-15 23:24:56 +00:00
|
|
|
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
|
2020-05-27 12:58:50 +00:00
|
|
|
build: ../../
|
2020-05-15 23:24:56 +00:00
|
|
|
image: albancrommer/changelog-server:latest
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
depends_on:
|
|
|
|
- es
|
2020-05-27 12:58:50 +00:00
|
|
|
command: ["./system/wait-for", "-t", "5", "es:9200", "--", "node", "index.js"]
|
|
|
|
read_only: true
|
|
|
|
|