More work on configs and env

This commit is contained in:
Scott Idem
2023-09-08 14:23:08 -04:00
parent be1bb21b7e
commit 9262e9987e
3 changed files with 20 additions and 12 deletions

View File

@@ -93,8 +93,11 @@ AE_SMTP_USERNAME=send_mail
AE_API_ENV=development
AE_API_DIR=/srv/aether_api
AE_API_LOG_PATH="/logs/aether_api.log"
AE_API_WORKERS=2
AE_API_THREADS=1
AE_API_GUNICORN_TIMEOUT=2100 # (default=30; should be much higher)
AE_API_GUNICORN_GRACEFUL_TIMEOUT=30 # (default=30)
AE_API_GUNICORN_KEEPALIVE=30 # (default=2)
AE_API_GUNICORN_WORKERS=2 # (default=2)
AE_API_GUNICORN_THREADS=2 # (default=2)
AE_API_RELOAD=False
AE_API_JWT_KEY="ABC123 22 CHARS" # 22 characters; super secret Aether JWT signing key
@@ -108,6 +111,11 @@ AE_APP_DIR=/srv/aether_app
AE_APP_LOG_PATH="/logs/aether_app.log"
AE_APP_WORKERS=2
AE_APP_THREADS=1
AE_APP_GUNICORN_TIMEOUT=1200 # (default=30; should be higher)
AE_APP_GUNICORN_GRACEFUL_TIMEOUT=20 # (default=30)
AE_APP_GUNICORN_KEEPALIVE=30 # (default=2)
AE_APP_GUNICORN_WORKERS=2 # (default=2)
AE_APP_GUNICORN_THREADS=1 # (default=1)
AE_APP_RELOAD=True
# Generate a new key with: # python -c 'import os; print(os.urandom(16))'
AE_APP_CACHE_SECRET_KEY="$\x93\x12\xb4R\x80R\xb5\xe50\xa0k\xc8#RN"