Fixing docker install instructions for pictshare. #831

This commit is contained in:
Dessalines 2020-06-23 09:37:16 -04:00
parent 27f2fd352a
commit 84ed1ecdfd
2 changed files with 6 additions and 1 deletions

2
RELEASES.md vendored
View file

@ -1,4 +1,4 @@
# Lemmy v0.7.0 Release (2020-06-22) # Lemmy v0.7.0 Release (2020-06-23)
## Breaking Change to our image server: Pictshare to Pict-rs migration guide ## Breaking Change to our image server: Pictshare to Pict-rs migration guide

View file

@ -6,10 +6,15 @@ Make sure you have both docker and docker-compose(>=`1.24.0`) installed. On Ubun
# create a folder for the lemmy files. the location doesnt matter, you can put this anywhere you want # create a folder for the lemmy files. the location doesnt matter, you can put this anywhere you want
mkdir /lemmy mkdir /lemmy
cd /lemmy cd /lemmy
# download default config files # download default config files
wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/prod/docker-compose.yml wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/prod/docker-compose.yml
wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/lemmy.hjson wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/lemmy.hjson
wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/iframely.config.local.js wget https://raw.githubusercontent.com/dessalines/lemmy/master/docker/iframely.config.local.js
# Set correct permissions for pictrs folder
mkdir -p volumes/pictrs
sudo chown -R 991:991 volumes/pictrs
``` ```
After this, have a look at the [config file](administration_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](administration_configuration.md) named `lemmy.hjson`, and adjust it, in particular the hostname, and possibly the db password. Then run: