mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
non-root docker
This commit is contained in:
parent
c9de7c4c60
commit
707ada69d0
2 changed files with 5 additions and 3 deletions
|
@ -39,8 +39,10 @@ $ ./pict-rs -a 127.0.0.1:8080 -p data/ -w thumbnail identity
|
||||||
Run the following commands:
|
Run the following commands:
|
||||||
```
|
```
|
||||||
# Create a folder for the files (anywhere works)
|
# Create a folder for the files (anywhere works)
|
||||||
mkdir /pict-rs
|
mkdir ./pict-rs
|
||||||
cd /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
|
wget https://git.asonix.dog/asonix/pict-rs/raw/branch/master/docker/prod/docker-compose.yml
|
||||||
sudo docker-compose up -d
|
sudo docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: '3.3'
|
||||||
services:
|
services:
|
||||||
pictrs:
|
pictrs:
|
||||||
image: asonix/pictrs:amd64-v0.1.0-r8
|
image: asonix/pictrs:amd64-v0.1.0-r8
|
||||||
user: root
|
user: 991:991
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8080:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in a new issue