forked from github/plane
fix: minio settings (#1172)
This commit is contained in:
parent
58d1d8f132
commit
e3da80755c
@ -29,7 +29,7 @@ DOCKERIZED = int(os.environ.get(
|
|||||||
"DOCKERIZED", 0
|
"DOCKERIZED", 0
|
||||||
)) == 1
|
)) == 1
|
||||||
|
|
||||||
USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1
|
USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1
|
||||||
|
|
||||||
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ SITE_ID = 1
|
|||||||
# Set the variable true if running in docker environment
|
# Set the variable true if running in docker environment
|
||||||
DOCKERIZED = int(os.environ.get("DOCKERIZED", 0)) == 1
|
DOCKERIZED = int(os.environ.get("DOCKERIZED", 0)) == 1
|
||||||
|
|
||||||
USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1
|
USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1
|
||||||
|
|
||||||
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ DOCKERIZED = int(os.environ.get(
|
|||||||
"DOCKERIZED", 0
|
"DOCKERIZED", 0
|
||||||
)) == 1
|
)) == 1
|
||||||
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
FILE_SIZE_LIMIT = int(os.environ.get("FILE_SIZE_LIMIT", 5242880))
|
||||||
USE_MINIO = int(os.environ.get("USE_MINIO"), 0) == 1
|
USE_MINIO = int(os.environ.get("USE_MINIO", 0)) == 1
|
||||||
|
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
dsn=os.environ.get("SENTRY_DSN"),
|
dsn=os.environ.get("SENTRY_DSN"),
|
||||||
|
Loading…
Reference in New Issue
Block a user