Merge pull request #553 from weisslj/fix-s3-bucket-documentation
Correct documentation of S3 bucket
This commit is contained in:
commit
74a7216a30
2 changed files with 5 additions and 4 deletions
|
@ -195,7 +195,8 @@ Application settings `config.json`
|
||||||
| email | `true` or `false` | set to allow email signin |
|
| email | `true` or `false` | set to allow email signin |
|
||||||
| allowemailregister | `true` or `false` | set to allow email register (only applied when email is set, default is `true`) |
|
| allowemailregister | `true` or `false` | set to allow email register (only applied when email is set, default is `true`) |
|
||||||
| imageUploadType | `imgur`(default), `s3` or `filesystem` | Where to upload image
|
| imageUploadType | `imgur`(default), `s3` or `filesystem` | Where to upload image
|
||||||
| s3 | `{ "accessKeyId": "YOUR_S3_ACCESS_KEY_ID", "secretAccessKey": "YOUR_S3_ACCESS_KEY", "region": "YOUR_S3_REGION", "bucket": "YOUR_S3_BUCKET_NAME" }` | When `imageUploadType` be setted to `s3`, you would also need to setup this key, check our [S3 Image Upload Guide](docs/guides/s3-image-upload.md) |
|
| s3 | `{ "accessKeyId": "YOUR_S3_ACCESS_KEY_ID", "secretAccessKey": "YOUR_S3_ACCESS_KEY", "region": "YOUR_S3_REGION" }` | When `imageUploadType` be setted to `s3`, you would also need to setup this key, check our [S3 Image Upload Guide](docs/guides/s3-image-upload.md) |
|
||||||
|
| s3bucket | `YOUR_S3_BUCKET_NAME` | bucket name when `imageUploadType` is set to `s3` |
|
||||||
|
|
||||||
Third-party integration api key settings
|
Third-party integration api key settings
|
||||||
---
|
---
|
||||||
|
|
|
@ -67,9 +67,9 @@
|
||||||
"s3": {
|
"s3": {
|
||||||
"accessKeyId": "YOUR_S3_ACCESS_KEY_ID",
|
"accessKeyId": "YOUR_S3_ACCESS_KEY_ID",
|
||||||
"secretAccessKey": "YOUR_S3_ACCESS_KEY",
|
"secretAccessKey": "YOUR_S3_ACCESS_KEY",
|
||||||
"region": "YOUR_S3_REGION", // example: ap-northeast-1
|
"region": "YOUR_S3_REGION" // example: ap-northeast-1
|
||||||
"bucket": "YOUR_S3_BUCKET_NAME"
|
},
|
||||||
}
|
"s3bucket": "YOUR_S3_BUCKET_NAME"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue