diff options
author | Yehonatan Ezron <37303618+jonatan5524@users.noreply.github.com> | 2022-05-29 20:59:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 20:59:25 +0300 |
commit | 4cac908255cd39f009d33af85df606ecee7a28e5 (patch) | |
tree | 4d393afda3ab370f9da8167f6dbddfa09993e3e4 | |
parent | e0273bad72fb0d09cc4055240cbd6f1df757e0a9 (diff) | |
download | gitea-4cac908255cd39f009d33af85df606ecee7a28e5.tar.gz gitea-4cac908255cd39f009d33af85df606ecee7a28e5.zip |
docs(hacking-on-gitea): fix installation instruction for elasticsearch docker (#19829)
-rw-r--r-- | docs/content/doc/developers/hacking-on-gitea.en-us.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/developers/hacking-on-gitea.en-us.md b/docs/content/doc/developers/hacking-on-gitea.en-us.md index 56ee1ca335..9d15f66dac 100644 --- a/docs/content/doc/developers/hacking-on-gitea.en-us.md +++ b/docs/content/doc/developers/hacking-on-gitea.en-us.md @@ -192,7 +192,7 @@ Start local ElasticSearch instance using docker: ```sh mkdir -p $(pwd)/data/elasticsearch sudo chown -R 1000:1000 $(pwd)/data/elasticsearch -docker run --rm -p 127.0.0.1:9200:9200 -p 127.0.0.1:9300:9300 -e "discovery.type=single-node" -v "$(pwd)/data/elasticsearch:/usr/share/elasticsearch/data" docker.elastic.co/elasticsearch/elasticsearch:7.16.3 +docker run --rm --memory="4g" -p 127.0.0.1:9200:9200 -p 127.0.0.1:9300:9300 -e "discovery.type=single-node" -v "$(pwd)/data/elasticsearch:/usr/share/elasticsearch/data" docker.elastic.co/elasticsearch/elasticsearch:7.16.3 ``` Configure `app.ini`: |