-
Notifications
You must be signed in to change notification settings - Fork 92
/
.env.example
49 lines (39 loc) · 1.08 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
46
47
48
49
NODE_ENV=development
APP_PORT = 4000
APP_HOST = 'localhost'
APP_URL = http://supra.com
PAGE_SIZE = 10
APP_NAME='supra-api'
COOKIE_SECRET=secretsecretsecret
# TOKENS
JWT_ISS=supra-api
TOKEN_ACCESS_EXP = '10m'
TOKEN_ACCESS_SECRET = '123456789012345678901234567890'
TOKEN_REFRESH_EXP = '60m'
TOKEN_REFRESH_SECRET = '123456789012345678901234567890'
TOKEN_RESET_PASSWORD_EXP = '4h'
TOKEN_RESET_PASSWORD_SECRET = '123456789012345678901234567890'
TOKEN_EMAIL_CONFIRM_EXP = '2d'
TOKEN_EMAIL_CONFIRM_SECRET = '123456789012345678901234567890'
# DB
DB_HOST = 'localhost'
DB_PORT = 5432
DB_USER = 'postgres'
DB_PASSWORD = ''
DB_NAME = ''
DB_CHARSET = 'utf8'
# EMAIL SERVICE
MAILGUN_API_KEY = '---'
MAILGUN_DOMAIN = '---.mailgun.org'
MAILGUN_HOST = 'api.mailgun.net'
EMAIL_FROM = 'Supra Team <[email protected]>'
EMAIL_TO_TEST = '[email protected]'
#S3
S3_ACCESS = '123456789012345678901234567890'
S3_SECRET = '123456789012345678901234567890'
S3_BUCKET = 'my-bucket-name'
# Sentry
SENTRY_DSN = 'https://[email protected]/12345'
# Tests
TEST_EMAIL = [email protected]
TEST_PASSWORD = 123456Aa