This commit is contained in:
cupcakearmy 2021-04-23 13:45:54 +02:00
parent 188560395d
commit cf03562ea2
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
4 changed files with 1895 additions and 1348 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{
"dependencies": {
"@codedoc/core": "^0.2.15"
"@codedoc/core": "^0.2.23"
}
}

View File

@ -25,6 +25,11 @@ backends:
B2_ACCOUNT_KEY: backblaze_account_key
```
#### API Keys gotcha
When creating API make sure you check _Allow List All Bucket Names_ if you allow access to a single bucket only.
Also make sure that the _File name prefix_ (if used) does not includes a leading slash.
## S3 / Minio
```yaml
@ -59,6 +64,21 @@ backends:
name-of-backend:
type: rest
path: http://localhost:8000/repo_name
# Or authenticated
path: https://user:pass@host:6969/path
```
Optionally you can set user and password separately
```yaml
backends:
rest:
type: rest
path: http://localhost:6969/path
key: ...
rest:
user: user
password: pass
```
> :ToCPrevNext

12
docs/package-lock.json generated
View File

@ -131,9 +131,9 @@
}
},
"node_modules/chalk": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
"integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@ -1153,9 +1153,9 @@
}
},
"chalk": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
"integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"