Compare commits
4 Commits
1bd70705e7
...
main
Author | SHA1 | Date | |
---|---|---|---|
9a2e257b0d | |||
9c3ff6e799 | |||
781d055e60 | |||
0f5cea2850 |
Binary file not shown.
Before Width: | Height: | Size: 864 KiB After Width: | Height: | Size: 501 KiB |
@@ -25,7 +25,7 @@ def main():
|
|||||||
"--workers", str(AppSettings.GUNICORN_WORKERS),
|
"--workers", str(AppSettings.GUNICORN_WORKERS),
|
||||||
"--bind", AppSettings.GUNICORN_BIND,
|
"--bind", AppSettings.GUNICORN_BIND,
|
||||||
"--timeout", str(AppSettings.GUNICORN_TIMEOUT),
|
"--timeout", str(AppSettings.GUNICORN_TIMEOUT),
|
||||||
"--keepalive", str(AppSettings.GUNICORN_KEEPALIVE),
|
"--keep-alive", str(AppSettings.GUNICORN_KEEPALIVE),
|
||||||
"--access-logfile", "-",
|
"--access-logfile", "-",
|
||||||
"--error-logfile", "-",
|
"--error-logfile", "-",
|
||||||
"--log-level", "info",
|
"--log-level", "info",
|
||||||
|
@@ -74,7 +74,9 @@ class AppSettings:
|
|||||||
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"))
|
||||||
|
Reference in New Issue
Block a user