Skip to content

Instantly share code, notes, and snippets.

@ivanfoong
Created December 1, 2021 12:48
Show Gist options
  • Save ivanfoong/609fa94e6dbc68874694d6332eaf6683 to your computer and use it in GitHub Desktop.
Save ivanfoong/609fa94e6dbc68874694d6332eaf6683 to your computer and use it in GitHub Desktop.

Revisions

  1. ivanfoong created this gist Dec 1, 2021.
    12 changes: 12 additions & 0 deletions docker-compose.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    version: '3.2'

    services:
    elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.15.2
    ports:
    - "9200:9200"
    - "9300:9300"
    environment:
    ES_JAVA_OPTS: "-Xmx256m -Xms256m"
    ELASTIC_PASSWORD: changeme
    discovery.type: single-node