fix formatting
All checks were successful
Security Scan / security (pull_request) Successful in 38s
Security Scan / dependency-check (pull_request) Successful in 38s
Test Suite / test (3.11) (pull_request) Successful in 1m18s
Test Suite / lint (pull_request) Successful in 31s
Test Suite / build (pull_request) Successful in 37s
All checks were successful
Security Scan / security (pull_request) Successful in 38s
Security Scan / dependency-check (pull_request) Successful in 38s
Test Suite / test (3.11) (pull_request) Successful in 1m18s
Test Suite / lint (pull_request) Successful in 31s
Test Suite / build (pull_request) Successful in 37s
This commit is contained in:
@@ -72,10 +72,12 @@ class AppSettings:
|
|||||||
DEBUG = os.getenv("EMBEDDINGBUDDY_DEBUG", "True").lower() == "true"
|
DEBUG = os.getenv("EMBEDDINGBUDDY_DEBUG", "True").lower() == "true"
|
||||||
HOST = os.getenv("EMBEDDINGBUDDY_HOST", "127.0.0.1")
|
HOST = os.getenv("EMBEDDINGBUDDY_HOST", "127.0.0.1")
|
||||||
PORT = int(os.getenv("EMBEDDINGBUDDY_PORT", "8050"))
|
PORT = int(os.getenv("EMBEDDINGBUDDY_PORT", "8050"))
|
||||||
|
|
||||||
# Environment Configuration
|
# Environment Configuration
|
||||||
ENVIRONMENT = os.getenv("EMBEDDINGBUDDY_ENV", "development") # development, production
|
ENVIRONMENT = os.getenv(
|
||||||
|
"EMBEDDINGBUDDY_ENV", "development"
|
||||||
|
) # development, production
|
||||||
|
|
||||||
# WSGI Server Configuration (for production)
|
# WSGI Server Configuration (for production)
|
||||||
GUNICORN_WORKERS = int(os.getenv("GUNICORN_WORKERS", "4"))
|
GUNICORN_WORKERS = int(os.getenv("GUNICORN_WORKERS", "4"))
|
||||||
GUNICORN_BIND = os.getenv("GUNICORN_BIND", f"{HOST}:{PORT}")
|
GUNICORN_BIND = os.getenv("GUNICORN_BIND", f"{HOST}:{PORT}")
|
||||||
|
Reference in New Issue
Block a user