[App] add DB_QUERY_LIMIT_DEFAULT env to NocoDB (#2392)
* add env for NOCODB_TABLE_ROWS * fix(envs): set default rows value to 25 --------- Co-authored-by: JigSawFr <JigSawFr@users.noreply.github.com>
This commit is contained in:
parent
c407343e46
commit
dc25365e85
|
@ -32,6 +32,13 @@
|
|||
"label": "REDIS_PASSWORD",
|
||||
"min": 32,
|
||||
"env_variable": "NOCODB_REDIS_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"label": "Choos the number of rows to display in a table.",
|
||||
"hint": "Leave empty for default 25",
|
||||
"required": false,
|
||||
"env_variable": "NOCODB_TABLE_ROWS"
|
||||
}
|
||||
],
|
||||
"supported_architectures": [
|
||||
|
|
|
@ -11,6 +11,7 @@ services:
|
|||
- NC_PUBLIC_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
- NC_AUTH_JWT_SECRET=${NOCODB_JWT_SECRET}
|
||||
- NC_REDIS_URL=redis://default:${NOCODB_REDIS_PASSWORD}@nocodb-redis:6379
|
||||
- DB_QUERY_LIMIT_DEFAULT=${NOCODB_TABLE_ROWS-25}
|
||||
image: "nocodb/nocodb:0.204.0"
|
||||
ports:
|
||||
- "${APP_PORT}:8080"
|
||||
|
|
Loading…
Reference in New Issue
Block a user