fix: minio settings (#1172)

This commit is contained in:
pablohashescobar 2023-06-05 12:52:25 +05:30 committed by GitHub
parent 58d1d8f132
commit e3da80755c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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))

View File

@ -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"),