/
.env.example
45 lines (37 loc) · 1.34 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
# Port number
NODE_PORT=3000
NODE_ORIGIN="*"
NODE_DOMAIN=
NODE_HOST="http://localhost:3000"
NODE_DEBUG_LEVEL=info
# Postgres URL
DATABASE_URL="postgresql://postgres:secret@localhost:5432/mydb?schema=public"
TWITTER_CLIENT_ID=""
TWITTER_CLIENT_SECRET=""
TWITTER_CLIENT_TYPE="confidential"
# JWT
# JWT secret key
JWT_SECRET=thisisasamplesecret
JWT_BASE64_PUBLIC_KEY="base64 encoded public key"
JWT_BASE64_PRIVATE_KEY="base64 encoded private key"
# Number of minutes after which an access token expires
JWT_ACCESS_EXPIRATION_MINUTES=30
# Number of days after which a refresh token expires
JWT_REFRESH_EXPIRATION_DAYS=30
# Number of minutes after which a reset password token expires
JWT_RESET_PASSWORD_EXPIRATION_MINUTES=10
# Number of minutes after which a verify email token expires
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES=10
# SMTP configuration options for the email service
# For testing, you can use a fake SMTP service like Ethereal: https://ethereal.email/create
SMTP_HOST=email-server
SMTP_PORT=587
SMTP_USERNAME=email-server-username
SMTP_PASSWORD=email-server-password
EMAIL_FROM=support@yourapp.com
# LND Lightning daemon configuration
# For testing, you can use a lightning simulator like Polar: https://lightningpolar.com/
LND_CERT="base 64 encoded tls.cert"
LND_ADMIN_MACAROON="base 64 encoded admin.macaroon"
LND_SOCKET="127.0.0.1:10001"
WALLET_LIMIT=