-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
50 lines (39 loc) · 1.82 KB
/
.env.template
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
########################
# CROSSCOM ENVIRONMENT #
########################
#######################################
# WARNING #
# ------- #
# DO NOT ADD ENTRIES WITHOUT COMMENTS #
#######################################
##################
# SERVER RUNTIME #
##################
# The port that the web server will attach to.
# This will default to 0 if it is not set.
PORT=5000
# The web accessable URL which the server process can be accessed through.
# This is used throughout the application to set redirects, email addresses and other such information.
ACTIVE_RUNTIME_URL=http://localhost:5000
# The URL of the PostgreSQL Database that should be used as the primary store.
# This environmental variable is less descriptive than it could be but must be this way to allow deployment to Heroku
# The default value set in this file is the local development value that will connect to docker
DATABASE_URL=postgresql://postgres@localhost:5432/postgres
# Sets whether to use SSL encryption on the connection to Postgres
# The default value is false so as to support development but it should be set to true in production
DATABASE_SSL=false
######################
# CLIENT APPLICATION #
######################
###################################
# CRYPTOGRAPHY AND SECURE SECRETS #
###################################
# The secret string used to seed the SHA256 digest that will secure authentication tokens.
# This must be strongly secure to prevent attackers from fraudulently issuing themselves tokens.
AUTHENTICATION_TOKEN_SECRET=CHANGE_ME!
###########################
# RENDERING AND TEMPLATES #
###########################
# Enable the Pug cache - this means a restart is required to view template changes.
# Should be set to true in production but left false elsewhere
PUG_CACHE_ENABLED=false