Adding arm install instructions.

This commit is contained in:
Dessalines 2021-01-22 12:33:25 -05:00
parent 3d887b9953
commit 63e229bc14
2 changed files with 5 additions and 0 deletions

View file

@ -11,6 +11,9 @@ git clone https://github.com/LemmyNet/lemmy.git
cd lemmy/ansible/ cd lemmy/ansible/
cp inventory.example inventory cp inventory.example inventory
nano inventory # enter your server, domain, contact email 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 # If the command below fails, you may need to comment out this line
# In the ansible.cfg file: # In the ansible.cfg file:
# interpreter_python=/usr/bin/python3 # interpreter_python=/usr/bin/python3

View file

@ -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'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: 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` `docker-compose up -d`