-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dev
37 lines (31 loc) · 823 Bytes
/
.env.dev
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
# Key files
RSA_PRIVATE_KEY_FILE=rsa_private_dev.pem
RSA_PUBLIC_KEY_FILE=rsa_public_dev.pem
HS_REFRESH_SECRET=a_nice_secret
# POSTGRES
POSTGRES_USER=administrator
POSTGRES_PASSWORD=passwd
POSTGRES_USERS_HOST=postgres-users
POSTGRES_USERS_PORT=5432
POSTGRES_USERS_USER=administrator
POSTGRES_USERS_PASSWORD=passwd
POSTGRES_USERS_DATABASE=administrator
# REDIS
REDIS_HOST=redis-tokens
REDIS_PORT=6379
# AWS
AWS_CREDENTIAL_PATH=/aws/credentials
AWS_REGION=ap-east-1
AWS_BUCKET_NAME=word-memorizer
AWS_BUCKET_URL_ROOT=https://word-memorizer.s3.ap-east-1.amazonaws.com/
# Services
# ACCESS_TOKEN_TIMEOUT=900 # 15mins
ACCESS_TOKEN_TIMEOUT=3 # 15mins
REFRESH_TOKEN_TIMEOUT=259200 # 3 days
# REFRESH_TOKEN_TIMEOUT=300
REQUEST_TIMEOUT=5 # 5s
# Account
ACCOUNT_API_URL=/api/account
# Word
WORD_API_URL=/api/word
PAGE_LENGTH=10