forked from CodingPirates/forenings_medlemmer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
61 lines (44 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
# All environment configuration should happen in the file .env
# COPY this file to .env and make sure each variable has a value
# Errror reporting setup
SENTRY_DSN=not set
# Mode - Sets the mode the system is running in, either production, testing, development or staging
MODE=development
# Prefix for quickpay order id
PAYMENT_ID_PREFIX=dev
# Django debug mode
DEBUG=True
# Django port
PORT=8000
FORCE_HTTPS=False
# DJANGO secret key
SECRET_KEY=some long random string
# Set the email as a config https://github.com/migonzalvar/dj-email-url
EMAIL_URL=console:
# base url for site
BASE_URL=localhost:8000
# The list allowed to access across origin
CORS_LIST=https://members.codingpirates.dk
# Tokens for django quickpay API -- This is test keys
QUICKPAY_API_KEY=ec55645b143824405a140943680e680f99b6c6e02e309b057d238ed2288d90ad
QUICKPAY_PRIVATE_KEY=122295f79d2dc6fc49703ccb22acb01adc44924d8a0457f9ff122620368e20a0
# The server to use, use runserver to get automatic code refresh in development
# Use gunicorn in production
# SERVER_COMMAND=gunicorn forenings_medlemmer.wsgi:application --bind
SERVER_COMMAND=./manage.py runserver
# Set empty if the database should not be accessible outside docker
# Set to :5432 if you want to be able to connect for development purposes
# Set empty in production
DB_PORT=:5432
# DB_PORT=
# Passed to django settings.py
ADMINS=[('dit navn', '[email protected]')] # ADMINS, gets emails on exceptions
MANAGERS=[('dit navn', '[email protected]')]
ALLOWED_HOSTS=127.0.0.1, 0.0.0.0, localhost
# DATABASE SETUP
# To accommodate both heroku and docker you must enter the same information
# twice
DATABASE_URL=postgres://postgres_user:postgres_password@database/database_name
POSTGRES_USER=postgres_user
POSTGRES_PASSWORD=postgres_password
POSTGRES_DB=database_name