Skip to content

Commit

Permalink
Add resource size limits to .env.example configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanez committed Dec 13, 2024
1 parent 50ee6c7 commit 2184ea2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ CKAN___SEARCH__FACETS__DEFAULT=4
CKAN__DATASTORE__SQLSEARCH__ENABLED=True

## Resource Proxy settings
# The maximum in megabytes a resources upload can be. Default: 10MB
CKAN__MAX_RESOURCE_SIZE=100
CKAN__MAX_IMAGE_SIZE=4
### Preview size limit, default: 1MB
CKAN__RESOURCE_PROXY__MAX_FILE_SIZE=50048576
## Size of chunks to read/write__
Expand Down
3 changes: 3 additions & 0 deletions samples/.env.codespaces
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ CKAN___SEARCH__FACETS__DEFAULT=4
CKAN__DATASTORE__SQLSEARCH__ENABLED=True

## Resource Proxy settings
# The maximum in megabytes a resources upload can be. Default: 10MB
CKAN__MAX_RESOURCE_SIZE=100
CKAN__MAX_IMAGE_SIZE=4
### Preview size limit, default: 1MB
CKAN__RESOURCE_PROXY__MAX_FILE_SIZE=50048576
## Size of chunks to read/write__
Expand Down
3 changes: 3 additions & 0 deletions samples/.env.dev.example
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ CKAN___SEARCH__FACETS__DEFAULT=4
CKAN__DATASTORE__SQLSEARCH__ENABLED=True

## Resource Proxy settings
# The maximum in megabytes a resources upload can be. Default: 10MB
CKAN__MAX_RESOURCE_SIZE=100
CKAN__MAX_IMAGE_SIZE=4
### Preview size limit, default: 1MB
CKAN__RESOURCE_PROXY__MAX_FILE_SIZE=50048576
## Size of chunks to read/write__
Expand Down
3 changes: 3 additions & 0 deletions samples/.env.es.example
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ CKAN___SEARCH__FACETS__DEFAULT=4
CKAN__DATASTORE__SQLSEARCH__ENABLED=True

## Resource Proxy settings
# The maximum in megabytes a resources upload can be. Default: 10MB
CKAN__MAX_RESOURCE_SIZE=100
CKAN__MAX_IMAGE_SIZE=4
### Preview size limit, default: 1MB
CKAN__RESOURCE_PROXY__MAX_FILE_SIZE=50048576
## Size of chunks to read/write__
Expand Down

0 comments on commit 2184ea2

Please sign in to comment.