-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
68 lines (56 loc) · 1.75 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
64
65
66
67
68
#############################
# LOCAL ENV VAR
#############################
DJANGO_READ_DOT_ENV_FILE=True
# Set this to False in your cloud/deployment env vars
DEBUG=True
# Set this to .development or .production in your cloud/deployment env vars
DJANGO_SETTINGS_MODULE=config.settings.local
#DJANGO_SETTINGS_MODULE=config.settings.development
#DJANGO_SETTINGS_MODULE=config.settings.production
# Control what environment your using and any necessary logic
COPILOT_ENVIRONMENT_NAME=local
#COPILOT_ENVIRONMENT_NAME=development
#COPILOT_ENVIRONMENT_NAME=production
# Usable throughout your application for logging, emails, views
# Should be set differently per environment (local, dev, prod)
#COPILOT_APPLICATION_NAME={local project name}
# Local Dev
HOST=localhost
# Django
SECRET_KEY={your_secret_key}
ADMIN_URL=admin/
DOMAIN={domainname.com}
DJANGO_ALLOWED_HOSTS=127.0.0.1
DJANGO_SECURE_SSL_REDIRECT=False
# MySQL Database
MYSQL_ENGINE=django.db.backends.mysql
MYSQL_DATABASE={your_database_name}
MYSQL_HOST=localhost
MYSQL_USER={your_db_username}
MYSQL_PASSWORD={your_db_password}
MYSQL_PORT={your_db_port}
DATABASE_URL=f'mysql://${MYSQL_USER}:${MYSQL_PASSWORD}@${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DATABASE}'
# Redis
# redis://127.0.0.1:6379/1
REDIS_URL=REDIS_URL
# Email Vars
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
#EMAIL_USE_SSL=True
EMAIL_TIMEOUT=10
EMAIL_HOST_USER={your_email_username}
EMAIL_HOST_PASSWORD={your_email_pwd}
DEFAULT_FROM_EMAIL={default_email}
# AWS S3
AWS_ACCESS_KEY_ID={your_access_key_id}
AWS_SECRET_ACCESS_KEY={your_access_key_key}
AWS_STORAGE_BUCKET_NAME={your_s3_bucket_name}
# Docker usage
USE_DOCKER=no
# Sentry
# https://sentry.io/
SENTRY_DSN=
SENTRY_ENVIRONMENT=local