Skip to content

Commit 838e1b0

Browse files
Update config-cheat-sheet and app.ini.sample
1 parent e29ba59 commit 838e1b0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

custom/conf/app.ini.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ ENABLED = false
794794
TOKEN =
795795

796796
[storage]
797-
; URL of Bucket where files, such as, attachments, avatars, etc. are stored
798-
; If unset, file://<AppWorkPath> is used to maintain backward compatibility
799-
; Consult https://gocloud.dev/howto/blob/ for URL format for various cloud providers
797+
; URL of bucket where files are stored (such as attachments, avatars, etc.).
798+
; If unset, `BUCKET_URL` defaults to `file:// <AppWorkPath>`.
799+
; Consult https://gocloud.dev/howto/blob for URL format for various cloud providers and their credential paths and env variables.
800800
BUCKET_URL =

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Two special environment variables are passed to the render command:
509509

510510
## Storage (`storage`)
511511

512-
- `BUCKET_URL`: URL of Bucket where files, such as, attachments, avatars, etc. are stored. If unset, file://<current_directory> is used to maintain backward compatibility. Consult https://gocloud.dev/howto/blob/ for URL format for various cloud providers.
512+
- `BUCKET_URL`: URL of bucket where files are stored (such as attachments, avatars, etc.). If unset, `BUCKET_URL` defaults to `file:// <AppWorkPath>`. Consult https://gocloud.dev/howto/blob for URL format for various cloud providers and their credential paths and env variables.
513513

514514
## Other (`other`)
515515

docs/content/doc/advanced/config-cheat-sheet.zh-cn.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,10 @@ IS_INPUT_FILE = false
241241
- `FORMAT`: 显示在界面上的时间格式。比如: RFC1123 或者 2006-01-02 15:04:05
242242
- `DEFAULT_UI_LOCATION`: 默认显示在界面上的时区,默认为本地时区。比如: Asia/Shanghai
243243

244+
## Storage (`storage`)
245+
246+
- `BUCKET_URL`: 存储文件的存储桶的URL(例如附件,头像等). 如果未设置,`BUCKET_URL`默认为`file:// <AppWorkPath>`. 有关各种云提供商及其凭证路径和env变量的URL格式,请参阅https://gocloud.dev/howto/blob .
247+
244248
## Other (`other`)
245249

246250
- `SHOW_FOOTER_BRANDING`: 为真则在页面底部显示Gitea的字样。

0 commit comments

Comments
 (0)