-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
executable file
·47 lines (39 loc) · 1.31 KB
/
.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
40
41
42
43
44
45
46
47
# 1 is easier to debug, 0 is more secure
DEV=1
# `gate.localhost` if you're on your laptop, `gate.insalan.fr` if you're
# deploying the production website
WEBSITE_HOST=gate.localhost
# Production NGINX port
PROD_NGINX_PORT=80
# Beta NGINX port
PREPROD_NGINX_PORT=80
# External NGINX port, for all internet-facing URL calculations
EXTERNAL_NGINX_PORT=80
# Not important if you're on your laptop, cryptographically safely generated
# for the production website
BACKEND_DJANGO_SECRET=change_this_secret
# Django static files for web API
BACKEND_STATIC_ROOT=static
# Django media files for web API
BACKEND_MEDIA_ROOT=media
# Session cookie age, in seconds
SESSION_COOKIE_AGE=1209600
# Database Name
DB_NAME=insalan
# Database credentials for the website user
DB_USER=insalan
DB_PASS=password
# Database credentials for the super user (that could destroy everything)
DB_SUPERUSER=postgres
DB_SUPERPASS=root
# Superuser credentials for `beta` environment
SUPERUSER_USER=admin
SUPERUSER_PASS=password
# `http` on your machine, `https` on the production & beta websites
PROTOCOL=http
# `development` on your machine and on beta website, `production` on the production
# website
FRONTEND_API_URL="api.beta.gate.localhost"
FRONTEND_NODE_ENV=development
# Netcontrol configuration
NETCONTROL_SOCKET_FILE='/var/run/langate3000-netcontrol.sock'