1
0
Fork 0
mirror of https://github.com/Luzifer/preserve.git synced 2024-12-20 17:51:18 +00:00

Add infos about storage provider

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-02-23 14:17:22 +01:00
parent 5a019894b8
commit 813b20970c
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -23,3 +23,22 @@ This also works with parameters:
`http://localhost:3000/https://pbs.twimg.com/media/somemediaid?format=jpg&name=4096x4096`
### Select Storage Provider
**Local files**
```console
preserve \
--listen=:3000 \
--storage-provider=local \
--storage-dir=/var/lib/preserve
```
**Google Cloud Storage**
```console
preserve \
--listen=:3000 \
--storage-provider=gcs \
--bucket-uri=gs://mybucket/prefix
```