forked from kernelci/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.backend.example
More file actions
31 lines (25 loc) · 1.01 KB
/
.env.backend.example
File metadata and controls
31 lines (25 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ALLOWED_HOSTS=["backend", "localhost"]
DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY}
DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
REDIS_HOST=redis
SKIP_CRONJOBS=${SKIP_CRONJOBS:-False}
DEBUG=${DEBUG:-False}
DEBUG_DB_VARS=${DEBUG_DB_VARS:-False}
ENABLE_LOGGING=${ENABLE_LOGGING:-False} # Logs all prints
DEBUG_SQL_QUERY=${DEBUG_SQL_QUERY:-False} # Logs the SQL queries made
DB_NAME=${DB_NAME:-dashboard}
DB_USER=${DB_USER:-admin}
DB_PASSWORD=db_password
DB_HOST=dashboard_db # Docker can't connect to the ssh tunnel host directly.
DB_PORT=${DB_PORT:-5432}
DB_ENGINE=${DB_ENGINE:-django.db.backends.postgresql}
DB_OPTIONS_CONNECT_TIMEOUT=${DB_OPTIONS_CONNECT_TIMEOUT:-16}
# Check docs/monitoring.md docs for more context
PROMETHEUS_METRICS_ENABLED=False
PROMETHEUS_METRICS_PORT=8001
PROMETHEUS_MULTIPROC_DIR=/tmp/metrics
INGESTER_METRICS_PORT=8002
BACKEND_VOLUME_DIR=/volume_data
## Variables used for the notifications command. Check docs/notifications.md
# EMAIL_HOST_USER="youruser@host" # (optional)
# EMAIL_HOST_PASSWORD="yourpassword"