-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
63 lines (46 loc) · 1.33 KB
/
.env.example
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Generate yours with:
# python3 -c 'from django.utils.crypto import get_random_string; print(get_random_string(50))'
DJANGO_SECRET_KEY=khIcGVPGH87YSIEEgj2LtQFvIyqjiXUfzxwW1PB41JDFYRZAtp
# Django admin panel URL
ADMIN_URL=admin
# Postgres
# --------
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Do not change if you are using PostgreSQL from Docker Compose
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# Production
# ----------
# Web server configuration
# ------------------------
# TLS certificate will be obtained automatically.
DOMAIN_NAME=example.com
# https://caddyserver.com/docs/caddyfile/options#email
# Valkey/Redis
# -----
# Do not change if you are using Redis from Docker Compose
REDIS_HOST=redis
REDIS_PORT=6379
# Email configuration
# -------------------
# https://docs.djangoproject.com/en/5.1/ref/settings/#email-host
DEFAULT_FROM_EMAIL=user@localhost
EMAIL_HOST=localhost
EMAIL_HOST_PASSWORD=password
EMAIL_HOST_USER=user@localhost
EMAIL_PORT=25
EMAIL_USE_TLS=False
EMAIL_USE_SSL=False
# Error tracking (optional)
# -------------------------
# sentry.io
SENTRY_DSN=
# Alternative to sentry.io
# Emails that will receive error notifications.
# Format: Comma-separated "Name <email>" or "email"
# Example:
# ADMIN_EMAILS=John <[email protected]>,[email protected]
ADMIN_EMAILS=