getong / elasticsearch-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ElasticSearch GitHub Action

This GitHub Action sets up ElasticSearch

Usage

See action.yml

Basic:

steps:
- name: Configure sysctl limits
  run: |
    sudo swapoff -a
    sudo sysctl -w vm.swappiness=1
    sudo sysctl -w fs.file-max=262144
    sudo sysctl -w vm.max_map_count=262144

- uses: getong/elasticsearch-action@v1.3
  with:
    elasticsearch version: '8.11.0'
    host port: 9200
    container port: 9200
    host node port: 9300
    node port: 9300
    discovery type: 'single-node'

License

The scripts and documentation in this project are released under the Apache License

About

License:Apache License 2.0


Languages

Language:Shell 88.3%Language:Dockerfile 11.7%