From 6dbd76f8ebef14e34cf448f94d1612ae00ff0f72 Mon Sep 17 00:00:00 2001
From: mpl
At least one of these must be set:
blobPath
: local disk path to store blobsblobPath
: local disk path to store blobs. (valid for diskpacked too).s3
: "key:secret:bucket
" or "key:secret:bucket:hostname
" (with colons, but no quotes).googlecloudstorage
: "clientId:clientSecret:refreshToken:bucketName
"Additionally:
+packBlobs
: if true, diskpacked is used instead of the default filestorage.For now, if more than one storage option is set, one of them is the primary storage and the other ones are set up as mirrors. The precedence order is the same as the order they are listed above.
Others aren't yet supported by the simple config mode. Patches
to pkg/genconfig
welcome.
pkg/genconfig
welcome.
Unless runIndex
is set to false
, exactly one of these must be set:
sqlite
: path to SQLite database file to use for indexingkvIndexFile
: path to kv (https://github.com/cznic/kv) database file to use for indexingmongo
: user:password@hostmysql
: user@host:passwordpostgres
: user@host:password