[fix] system goes in system
This commit is contained in:
parent
c9b7f9f024
commit
b05c246d8f
6 changed files with 132 additions and 1 deletions
3
system/docker-compose/.env.sample
Normal file
3
system/docker-compose/.env.sample
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
APP_PORT=3000
|
||||
ES_CONNECT=es:9200
|
||||
# DEBUG=express:*
|
||||
34
system/docker-compose/docker-compose.yml
Normal file
34
system/docker-compose/docker-compose.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue