Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for opensearch out of the box #481

Open
johndpope opened this issue Apr 6, 2024 · 0 comments
Open

support for opensearch out of the box #481

johndpope opened this issue Apr 6, 2024 · 0 comments

Comments

@johndpope
Copy link

https://github.com/johndpope/elasticfeeds/blob/3e6bbf8b6a2a937b5b6131f75f08e082cbd4671b/elasticsearch_docker/docker-compose.yml

version: '2.2'

services:
  os01:
    image: opensearchproject/opensearch:2.2.0
    container_name: os01
    environment:
      - node.name=os01
      - cluster.name=os-docker-cluster
      - discovery.seed_hosts=os02,os03
      - cluster.initial_master_nodes=os01,os02,os03
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data01:/Users/johndpope/opensearch/data
    ports:
      - 9200:9200
    networks:
      - opensearch

  os02:
    image: opensearchproject/opensearch:2.2.0
    container_name: os02
    environment:
      - node.name=os02
      - cluster.name=os-docker-cluster
      - discovery.seed_hosts=os01,os03
      - cluster.initial_master_nodes=os01,os02,os03
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data02:/Users/johndpope/opensearch/data
    networks:
      - opensearch

  os03:
    image: opensearchproject/opensearch:2.2.0
    container_name: os03
    environment:
      - node.name=os03
      - cluster.name=os-docker-cluster
      - discovery.seed_hosts=os01,os02
      - cluster.initial_master_nodes=os01,os02,os03
      - bootstrap.memory_lock=true
      - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data03:/Users/johndpope/opensearch/data
    networks:
      - opensearch

volumes:
  data01:
    driver: local
  data02:
    driver: local
  data03:
    driver: local

networks:
  opensearch:
    driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant