From 371dee9c6e718721543e6ac361b4dbb38a24c809 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 21 Mar 2022 12:54:05 +0100 Subject: [PATCH] Download docker installation files from lemmy-ansible repo --- src/en/administration/install_docker.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/en/administration/install_docker.md b/src/en/administration/install_docker.md index 8acfd2f..e2f213b 100644 --- a/src/en/administration/install_docker.md +++ b/src/en/administration/install_docker.md @@ -8,8 +8,8 @@ mkdir /lemmy cd /lemmy # download default config files -wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/prod/docker-compose.yml -wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/lemmy.hjson +wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/templates/docker-compose.yml +wget https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/examples/config.hjson # Set correct permissions for pictrs folder mkdir -p volumes/pictrs @@ -46,9 +46,4 @@ You will also need to setup TLS, for example with [Let's Encrypt](https://letsen ## Updating -To update to the newest version, you can manually change the version in `docker-compose.yml`. Alternatively, fetch the latest version from our git repo: - -```bash -wget https://raw.githubusercontent.com/LemmyNet/lemmy/main/docker/prod/docker-compose.yml -docker-compose up -d -``` +To update to the newest version, you need to change the versions for lemmy and lemmy-ui in `docker-compose.yml`.