mirror of
https://github.com/Luzifer/preserve.git
synced 2024-12-29 22:01:22 +00:00
Add infos about storage provider
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5a019894b8
commit
813b20970c
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
@ -23,3 +23,22 @@ This also works with parameters:
|
||||||
|
|
||||||
`http://localhost:3000/https://pbs.twimg.com/media/somemediaid?format=jpg&name=4096x4096`
|
`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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue