]> Untitled Git - lemmy.git/blobdiff - docs/src/administration_install_docker.md
Fixing docker install instructions for pictshare. #831
[lemmy.git] / docs / src / administration_install_docker.md
index 236faa6bde895a83d6193e09029fa59e2dc4d04c..05ec8ab30b7df0bcd121cea9e65687251424c3d0 100644 (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
 mkdir /lemmy
 cd /lemmy
+
 # 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/lemmy.hjson
 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: