generated from Kan-A-Pesh/express-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
54 lines (41 loc) · 1.25 KB
/
.env
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
# Listening Port
# The port in which the authentication server will listen for incoming requests
# By default, the server will listen on port 3000
PORT=3000
# Trust Proxy IPs
# Whenever or not the server should trust the X-Forwarded-For header
# Set to true if the server is behind a reverse proxy (e.g. Nginx, Apache, etc.)
TRUST_PROXY=false
# Log folder
# The folder in which the logs will be stored
LOG_FOLDER=./logs
# Database
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_HOST=postgres
REDIS_HOST=redis
MINIO_ROOT_USER=minio
MINIO_ROOT_PASSWORD=password
MINIO_HOST=minio
MINIO_DEFAULT_BUCKETS=george
# Secrets
# The secret used to sign and verify JWT tokens
JWT_SECRET=secret
# Super-admin token
ADMIN_TOKEN=super_admin_token
# Mail server
MAIL_SERVER=smtp.example.com
MAIL_PORT=587
MAIL_SECURE=true
MAIL_USER=mail_user
MAIL_PASSWORD=mail_password
MAIL_FROM=mail_from <mail_user>
MAIL_ASSETS_URL="http://localhost:1337/mail-assets"
# Redirect URLs
# Mail redirect URL
# The {token} placeholder will be replaced by the token sent in the email
MAIL_REDIRECT_URL="http://localhost:1337/auth/confirm#{token}"
# Profile redirect URL
# The {uuid} placeholder will be replaced by the user's UUID
PROFILE_REDIRECT_URL="/profile/{uuid}"