From 813b20970cb3e03fa6a0c84e307d8715bc288df8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 23 Feb 2021 14:17:22 +0100 Subject: [PATCH] Add infos about storage provider Signed-off-by: Knut Ahlers --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index a8bede8..420e3ee 100644 --- a/README.md +++ b/README.md @@ -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 +```