-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env-sample
29 lines (23 loc) · 959 Bytes
/
.env-sample
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
# Sample Production Environment Variable File
# These variables should be set in App Service App Settings
# See: https://docs.microsoft.com/en-us/azure/app-service/web-sites-configure#app-settings
# Set the Production Settings Module
DJANGO_SETTINGS_MODULE=tweeter3.settings.production
# Configure the SECRET_KEY for Django See: https://docs.djangoproject.com/en/2.1/ref/settings/#secret-key
SECRET_KEY=my-secret-key
# For deployment purposes, configure the Azure App Service Hostname
AZURE_HOSTNAME=myhost
# App Service Build Settings (not used in Docker scenario)
POST_BUILD_SCRIPT_PATH=scripts/pre_deploy.sh
# App Service Port setting
WEBSITES_PORT=8000
# Configure the PostgreSQL Database with App Specific Settings
DB_USER=db_user
DB_PASSWORD=db_password
DB_NAME=db_name
DB_HOST=db_host
# Required for error emails
SEND_ADMIN_EMAILS=true
EMAIL_HOST_USER=your-email-account
EMAIL_HOST_PASSWORD=your-email-password
ADMIN_EMAIL_TO=email-target-account