mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-23 21:01:11 +00:00
Download docker installation files from lemmy-ansible repo
This commit is contained in:
parent
ee7446f04f
commit
371dee9c6e
1 changed files with 3 additions and 8 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue