chore(): some optimizations
This commit is contained in:
@@ -8,7 +8,8 @@ DJANGO_LANGUAGE_CODE=en-us
|
||||
DJANGO_STATIC_URL=static/
|
||||
REDIS_URI=redis://default:valkey@valkey:6379
|
||||
DJANGO_DB_URI=postgresql://postgres:postgres@postgresql/postgres
|
||||
DJANGO_CONN_MAX_AGE=300
|
||||
DJANGO_CONN_MAX_AGE=60
|
||||
DJANGO_CONN_HEALTH_CHECKS=True
|
||||
DJANGO_SILKY_PYTHON_PROFILER=
|
||||
|
||||
DJANGO_CREATE_SUPERUSER=True
|
||||
@@ -37,3 +38,5 @@ GUNICORN_BIND=0.0.0.0:8080
|
||||
GUNICORN_WORKER_CLASS=uvicorn_worker.UvicornWorker
|
||||
GUNICORN_ACCESS_LOG=-
|
||||
GUNICORN_ERROR_LOG=-
|
||||
|
||||
CELERY_WORKER_CONCURRENCY=8
|
||||
|
||||
@@ -62,7 +62,7 @@ listen_addresses = '*' # what IP address(es) to listen on;
|
||||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
#port = 5432 # (change requires restart)
|
||||
max_connections = 400 # (change requires restart)
|
||||
max_connections = 500 # (change requires restart)
|
||||
#reserved_connections = 0 # (change requires restart)
|
||||
#superuser_reserved_connections = 3 # (change requires restart)
|
||||
#unix_socket_directories = '/tmp' # comma-separated list of directories
|
||||
|
||||
@@ -26,3 +26,7 @@ scrape_configs:
|
||||
static_configs:
|
||||
- targets:
|
||||
- caddy:8404
|
||||
- job_name: backend
|
||||
static_configs:
|
||||
- targets:
|
||||
- backend:8080
|
||||
|
||||
Reference in New Issue
Block a user