-
Notifications
You must be signed in to change notification settings - Fork 0
/
.example.env
38 lines (38 loc) · 1.01 KB
/
.example.env
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
# 网站配置
PRODUCTION_SERVER=true
SECRET_KEY=This is a very strong secret key
CSRF_TRUSTED_ORIGINS=["https://example.com"]
# 数据库
POSTGRES_DB=smart_home
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
# 腾讯企业邮箱(用作发送网站错误报告的邮箱)
EMAIL_HOST_USER=username
EMAIL_HOST_PASSWORD=password
# 管理员(分号分隔)
ADMINS_NAME=admin
# Celery
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
# 小米小爱技能
XIAOAI_KEY_ID=key_id
XIAOAI_SECRET=secret
# 小米推送
MI_PUSH_PACKAGE_NAME=package_name
MI_PUSH_APP_ID=app_id
MI_PUSH_APP_KEY=app_key
MI_PUSH_APP_SECRET=app_secret
# Django Storages(S3)
MEDIA_URL=http://127.0.0.1/
AWS_STORAGE_BUCKET_NAME=bucket_name
AWS_ACCESS_KEY_ID=key_id
AWS_SECRET_ACCESS_KEY=access_key
AWS_S3_ENDPOINT_URL=http://127.0.0.1
# Sentry
SENTRY_DSN=sentry_dsn
SENTRY_ENVIRONMENT=sentry_environment
# Django Channels
CHANNEL_REDIS_URL=redis://redis:6379/1