Browse Source

add cloud brain config sample

tags/v1.21.12.1
palytoxin 5 years ago
parent
commit
38a45d7a4c
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      custom/conf/app.ini.sample

+ 8
- 3
custom/conf/app.ini.sample View File

@@ -734,7 +734,7 @@ ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
MAX_SIZE = 4
; Max number of files per upload. Defaults to 5
MAX_FILES = 5
; Storage type for attachments, `local` for local disk or `minio` for s3 compitable
; Storage type for attachments, `local` for local disk or `minio` for s3 compitable
; object storage service, default is `local`.
STORE_TYPE = local
; Path for attachments. Defaults to `data/attachments` only available when STORE_TYPE is `local`
@@ -742,9 +742,9 @@ PATH = data/attachments
; Minio endpoint to connect only available when STORE_TYPE is `minio`
MINIO_ENDPOINT = localhost:9000
; Minio accessKeyID to connect only available when STORE_TYPE is `minio`
MINIO_ACCESS_KEY_ID =
MINIO_ACCESS_KEY_ID =
; Minio secretAccessKey to connect only available when STORE_TYPE is `minio`
MINIO_SECRET_ACCESS_KEY =
MINIO_SECRET_ACCESS_KEY =
; Minio bucket to store the attachments only available when STORE_TYPE is `minio`
MINIO_BUCKET = gitea
; Minio location to create bucket only available when STORE_TYPE is `minio`
@@ -1036,3 +1036,8 @@ QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0"
MAX_ATTEMPTS = 3
; Backoff time per http/https request retry (seconds)
RETRY_BACKOFF = 3

[cloudbrain]
HOST = http://192.168.204.24
USERNAME =
PASSWORD =

Loading…
Cancel
Save