General improvements.
This commit is contained in:
14
.env.default
14
.env.default
@@ -61,6 +61,13 @@ AE_DB_NAME=aether_dev
|
||||
AE_DB_USERNAME=osit_aether
|
||||
AE_DB_PASSWORD="the password with $$ escape"
|
||||
|
||||
# wait_timeout (MariaDB) is how long to keep an idle DB connection
|
||||
AE_DB_WAIT_TIMEOUT=1800 # Not yet used!
|
||||
# connection_timeout (MariaDB) is how long to try and create a new DB connection; bad handshake
|
||||
AE_DB_CONNECTION_TIMEOUT=15
|
||||
# pool_recycle (SQLAlchemy) is how long to keep using a particular connection that has passed a certain age
|
||||
AE_DB_POOL_RECYCLE=1800
|
||||
|
||||
AE_DB_V5_SERVER=linode.oneskyit.com
|
||||
AE_DB_V5_PORT=3306
|
||||
AE_DB_V5_NAME=aether_v5_dev
|
||||
@@ -78,12 +85,15 @@ AE_SMTP_USERNAME=send_mail
|
||||
# AE_SMTP_PASSWORD="not currently used"
|
||||
|
||||
|
||||
# Gunicorn workers and threads:
|
||||
# https://docs.gunicorn.org/en/stable/design.html#how-many-workers
|
||||
|
||||
# Aether API specific config options (FastAPI)
|
||||
# AE_API_CFG_ID=0 # NOT CURRENTLY NEED OR USED
|
||||
AE_API_ENV=development
|
||||
AE_API_DIR=/srv/aether_api
|
||||
AE_API_LOG_PATH="/logs/aether_api.log"
|
||||
AE_API_WORKERS=1
|
||||
AE_API_WORKERS=2
|
||||
AE_API_THREADS=1
|
||||
AE_API_RELOAD=False
|
||||
|
||||
@@ -96,7 +106,7 @@ AE_APP_UX_MODE=default
|
||||
# AE_APP_UX_MODE=native
|
||||
AE_APP_DIR=/srv/aether_app
|
||||
AE_APP_LOG_PATH="/logs/aether_app.log"
|
||||
AE_APP_WORKERS=1
|
||||
AE_APP_WORKERS=2
|
||||
AE_APP_THREADS=1
|
||||
AE_APP_RELOAD=True
|
||||
# Generate a new key with: # python -c 'import os; print(os.urandom(16))'
|
||||
|
||||
Reference in New Issue
Block a user