forked from horilla-opensource/horilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
39 lines (29 loc) · 985 Bytes
/
.env.dist
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
# Set "DEBUG=False" for production
DEBUG=True
# Get a secure secret key from https://djecrety.ir
SECRET_KEY=django-insecure-j8op9)1q8$1&0^s&p*_0%d#pr@w9qj@1o=3#@d=a(^@9@zd@%j
# Don't use "*" for ALLOWED_HOSTS in production
ALLOWED_HOSTS=www.example.com,example.com,*
# Database URL
DATABASE_URL=postgresql:https://user:password@localhost:5432/dbname
# ----OR----
# Database Configuration
DB_ENGINE=django.db.backends.postgresql
DB_NAME=dbname
DB_USER=user
DB_PASSWORD=password
DB_HOST=localhost
DB_PORT=5432
# Supportted Formats for DATABASE_URL :
# PostgreSQL: ``postgres[ql]?:https://`` or ``p[g]?sql:https://``
# PostGIS: ``postgis:https://``
# MySQL: ``mysql:https://`` or ``mysql2:https://``
# MySQL (GIS): ``mysqlgis:https://``
# MySQL Connector Python from Oracle: ``mysql-connector:https://``
# SQLite: ``sqlite:https://``
# SQLite with SpatiaLite for GeoDjango: ``spatialite:https://``
# Oracle: ``oracle:https://``
# Microsoft SQL Server: ``mssql:https://``
# PyODBC: ``pyodbc:https://``
# Amazon Redshift: ``redshift:https://``
# LDAP: ``ldap:https://``