Skip to content

Commit

Permalink
Added Docker Compose script
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Jorquera committed Aug 11, 2019
1 parent 6499252 commit cc96af9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: '2'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.0
environment:
- "node.name=es-node"
- "discovery.type=single-node"
- "cluster.name=app-search-docker-cluster"
- "bootstrap.memory_lock=true"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1

appsearch:
image: docker.elastic.co/app-search/app-search:7.3.0
environment:
- "elasticsearch.host=http://elasticsearch:9200"
- "allow_es_settings_modification=true"
- "JAVA_OPTS=-Xmx512m"
ports:
- 3002:3002

0 comments on commit cc96af9

Please sign in to comment.