From 63e229bc14e1acec4a47b4aaa0164006c080eca0 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 22 Jan 2021 12:33:25 -0500 Subject: [PATCH] Adding arm install instructions. --- src/en/administration/install_ansible.md | 3 +++ src/en/administration/install_docker.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/en/administration/install_ansible.md b/src/en/administration/install_ansible.md index ea04f53..63ddfd6 100644 --- a/src/en/administration/install_ansible.md +++ b/src/en/administration/install_ansible.md @@ -11,6 +11,9 @@ git clone https://github.com/LemmyNet/lemmy.git cd lemmy/ansible/ cp inventory.example inventory nano inventory # enter your server, domain, contact email +# If deploying to an ARM machine, open the file ansible/VERSION, +# and add -arm64 to the version +# # If the command below fails, you may need to comment out this line # In the ansible.cfg file: # interpreter_python=/usr/bin/python3 diff --git a/src/en/administration/install_docker.md b/src/en/administration/install_docker.md index 4796fe5..120be73 100644 --- a/src/en/administration/install_docker.md +++ b/src/en/administration/install_docker.md @@ -27,6 +27,8 @@ Open up your `docker-compose.yml`, and make sure `LEMMY_EXTERNAL_HOST` for `lemm If you'd like a different database password, you should also change it in the `docker-compose.yml` **before** your first run. +If you're running this on an ARM machine, open up `docker-compose.yml`, and add `-arm64` to the `lemmy` and `lemmy-ui` image lines. + After this, have a look at the [config file](configuration.md) named `lemmy.hjson`, and adjust it, in particular the hostname, and possibly the db password. Then run: `docker-compose up -d`