diff --git a/README.md b/README.md index a6e80d7..958e9bb 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,10 @@ $ ./pict-rs -a 127.0.0.1:8080 -p data/ -w thumbnail identity Run the following commands: ``` # Create a folder for the files (anywhere works) -mkdir /pict-rs -cd /pict-rs +mkdir ./pict-rs +cd ./pict-rs +mkdir -p volumes/pictrs +sudo chown -R 991:991 volumes/pictrs wget https://git.asonix.dog/asonix/pict-rs/raw/branch/master/docker/prod/docker-compose.yml sudo docker-compose up -d ``` diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index efbbee0..2f6389a 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -3,7 +3,7 @@ version: '3.3' services: pictrs: image: asonix/pictrs:amd64-v0.1.0-r8 - user: root + user: 991:991 ports: - "127.0.0.1:8080:8080" restart: always