HOST |
FastAPI's host argument |
0.0.0.0 |
PORT |
FastAPI's port argument |
8000 |
DATABASE_HOST |
MongoDB connection string |
mongodb://localhost/?retryWrites=true&w=majority |
DATABASE_PATH |
Local path for DB |
mydatabase |
DATABASE_NAME |
MongoDB database name |
jaseci |
REDIS_HOST |
Redis connection host |
redis://localhost |
REDIS_PORT |
Redis connection port |
6379 |
REDIS_USER |
Redis connection username |
null |
REDIS_PASS |
Redis connection password |
null |
DISABLE_AUTO_CLEANUP |
Disable auto deletion of nodes that doesn't connect to anything |
false |
SINGLE_QUERY |
Every edge_ref will trigger query per anchor if not already cached instead of consolidating non cached anchor before querying. |
false |
SESSION_MAX_TRANSACTION_RETRY |
MongoDB's transactional retry |
1 |
DISABLE_AUTO_ENDPOINT |
Disable auto convertion of walker to api. It will now require inner class specs or @specs decorator. |
false |
SHOW_ENDPOINT_RETURNS |
Include per visit return on api response |
false |
SESSION_MAX_COMMIT_RETRY |
MongoDB's transaction commit retry |
1 |
RESTRICT_UNVERIFIED_USER |
Rstrict user's login until it has verified |
false |
TOKEN_SECRET |
Random string used to encrypt token |
50 random characters |
TOKEN_ALGORITHM |
Algorithm used to encrypt token |
HS256 |
TOKEN_TIMEOUT |
Token expiration in hours |
12 |
VERIFICATION_CODE_TIMEOUT |
Verification code expiration in hours |
24 |
RESET_CODE_TIMEOUT |
Password reset code expiration in hours |
24 |
SENDGRID_HOST |
Sendgrid host used for hyperlinking verification/reset code |
http://localhost:8000 |
SENDGRID_API_KEY |
Sendgrid api key |
null |
LOGGER_NAME |
Specified logger name |
app |
LOGGER_LEVEL |
Control log level |
debug |
LOGGER_FILE_PATH |
Log directory and name |
/tmp/jac_cloud_logs/jac-cloud.log |
LOGGER_ROLLOVER_INTERVAL |
M = every minute, H = hourly, D = daily, W = weekly |
D |
LOGGER_MAX_BACKUP |
Maximum number of backup files before it will deletes old file. Non positive value will not have maximum |
-1 |
LOGGER_ROLLOVER_MAX_FILE_SIZE |
Maximum file size in bytes before it will rollover to new file |
10000000 |
LOGGER_USE_UTC |
If logger will use UTC |
false |