diff --git a/docs/download_installation.md b/docs/download_installation.md index 178a1c0..f65ac7c 100644 --- a/docs/download_installation.md +++ b/docs/download_installation.md @@ -19,9 +19,7 @@ Running YaCy in docker is easy. If you don't hava docker installed, get it from ## Download * Download YaCy for Windows from [https://download.yacy.net/yacy_v1.924_20201214_10042.exe](https://download.yacy.net/yacy_v1.924_20201214_10042.exe) - * Download Yacy for Linux from [https://download.yacy.net/yacy_v1.924_20210209_10069.tar.gz](https://download.yacy.net/yacy_v1.924_20210209_10069.tar.gz) - * Download YaCy for macOS from [https://download.yacy.net/yacy_v1.924_20201214_10042.dmg](https://download.yacy.net/yacy_v1.924_20201214_10042.dmg) ### With Docker @@ -85,7 +83,18 @@ Automatic development builds can be obtained from ### Docker ### -Install YaCy in intel-based environmnts, run: +Running YaCy in docker is easy. If you don't have docker installed, get it from [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/) (for Mac, Windows and Linux) or read the instructions from [https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/](https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/) to install docker on Raspberry Pi or any other ARM-based devices. + +The Official YaCy Images are hosted on Dockerhub at [https://hub.docker.com/r/yacy/yacy_search_server](https://hub.docker.com/r/yacy/yacy_search_server) + +We provide amd64, arm64v8 and arm32v7 versions with the following tags: + +* amd64: `yacy/yacy_search_server:latest` +* arm64v8: `yacy/yacy_search_server:aarch64-latest` +* arm32v7: `yacy/yacy_search_server:armv7-latest` + +i.e. to install YaCy in intel-based environments, run: + ``` docker run -d --name yacy_search_server -p 8090:8090 -p 8443:8443 -v yacy_search_server_data:/opt/yacy_search_server/DATA --restart unless-stopped --log-opt max-size=200m --log-opt max-file=2 yacy/yacy_search_server:latest ``` @@ -108,7 +117,7 @@ This will mount the data volume from the upgraded yacy instance. #### Configuration with Environment Variables All of the environment variables (see https://github.com/yacy/yacy_search_server/blob/master/defaults/yacy.init ) can be overwritten with the `docker run` command. The environment variables are named like those in the `yacy.init` files, with all `.` (dot) replaced with `_` (underscore), all uppercase and prefixed with `YACY_`. -For example: the default peer name can be set with `network.unit.agent` in `yacy.init`. To pre-set this value during `docker run` time, set the environmnt variable `YACY_NETWORK_UNIT_AGENT`. The correspondig run command would be: +For example: the default peer name can be set with `network.unit.agent` in `yacy.init`. To pre-set this value during `docker run` time, set the environment variable `YACY_NETWORK_UNIT_AGENT`. The corresponding run command would be: ``` docker run -d --name yacy_search_server -p 8090:8090 -p 8443:8443 -e YACY_NETWORK_UNIT_AGENT=Choomba -v yacy_search_server_data:/opt/yacy_search_server/DATA --restart unless-stopped --log-opt max-size=200m --log-opt max-file=2 yacy/yacy_search_server:latest ```