mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Django settings
|
|
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
|
|
DJANGO_BIND_ADDRESS=0.0.0.0
|
|
DJANGO_PORT=8000
|
|
DJANGO_DEBUG=False
|
|
# Select one of [production|devel]
|
|
DJANGO_SETTINGS_MODULE=config.django.[production|devel]
|
|
# Select one of [ndjson|human_readable]
|
|
DJANGO_LOGGING_FORMATTER=[ndjson|human_readable]
|
|
# Select one of [DEBUG|INFO|WARNING|ERROR|CRITICAL]
|
|
# Applies to both Django and Celery Workers
|
|
DJANGO_LOGGING_LEVEL=INFO
|
|
DJANGO_WORKERS=4 # Defaults to the maximum available based on CPU cores if not set.
|
|
DJANGO_TOKEN_SIGNING_KEY=""
|
|
DJANGO_TOKEN_VERIFYING_KEY=""
|
|
# Token lifetime is in minutes
|
|
DJANGO_ACCESS_TOKEN_LIFETIME=30
|
|
DJANGO_REFRESH_TOKEN_LIFETIME=1440
|
|
DJANGO_CACHE_MAX_AGE=3600
|
|
DJANGO_STALE_WHILE_REVALIDATE=60
|
|
DJANGO_SECRETS_ENCRYPTION_KEY=""
|
|
# Decide whether to allow Django manage database table partitions
|
|
DJANGO_MANAGE_DB_PARTITIONS=[True|False]
|
|
|
|
# PostgreSQL settings
|
|
# If running django and celery on host, use 'localhost', else use 'postgres-db'
|
|
POSTGRES_HOST=[localhost|postgres-db]
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_ADMIN_USER=prowler
|
|
POSTGRES_ADMIN_PASSWORD=S3cret
|
|
POSTGRES_USER=prowler_user
|
|
POSTGRES_PASSWORD=S3cret
|
|
POSTGRES_DB=prowler_db
|
|
|
|
# Valkey settings
|
|
# If running django and celery on host, use localhost, else use 'valkey'
|
|
VALKEY_HOST=[localhost|valkey]
|
|
VALKEY_PORT=6379
|
|
VALKEY_DB=0
|