Browse Source

append app.ini.sample for machinery

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

+ 9
- 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,9 @@ 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

[machinery]
; redis conf for decompress dataset zip file.
BROKER = redis://localhost:6379
DEFAULT_QUEUE = DecompressTasksQueue
RESULT_BACKEND = redis://localhost:6379

Loading…
Cancel
Save