-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
33 lines (30 loc) · 1.01 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
# --- common values
JWT_SECRET=<mySecret>
AUTHSCH_CLIENT_ID=<authSchClientId>
AUTHSCH_CLIENT_SECRET=<authSchClientSecret>
MAIL_SERVER_URL=<mailServer>
MAIL_API_KEY=<apikey>
# --- development example values
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/konzisite?schema=public
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=konzisite
MAIL_TEMPLATE_ROOT=src/templates/
NODE_ENV=development
FRONTEND_HOST=http://localhost:3000
FRONTEND_AUTHORIZED_URL=http://localhost:3000/authorized
BACKEND_PORT=3300
DOCKER_RESTART_POLICY=no
BACKEND_HOST=http://localhost:3300
# # --- production/docker example values
# DATABASE_URL=postgresql://postgres:postgres@db:5432/konzisite?schema=public
# POSTGRES_USER=postgres
# POSTGRES_PASSWORD=postgres
# POSTGRES_DB=konzisite
# MAIL_TEMPLATE_ROOT=dist/templates/
# NODE_ENV=production
# FRONTEND_HOST=http://localhost:3000
# FRONTEND_AUTHORIZED_URL=http://localhost:3000/authorized
# BACKEND_PORT=3300
# DOCKER_RESTART_POLICY=always
# BACKEND_HOST=http://localhost:3300