This GitHub Action sets up ElasticSearch
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: orkin/elasticsearch-action@1.0.0
with:
elasticsearch version: '8.11.0'
host port: 9200
container port: 9200
host node port: 9300
node port: 9300
discovery type: 'single-node'
The scripts and documentation in this project are released under the Apache License