1
0
mirror of https://github.com/Luzifer/preserve.git synced 2024-09-19 16:32:56 +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
```