-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
37 lines (29 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
33
34
35
36
37
# Basic config used whether running in the local Docker env or in the cloud
LOG_LEVEL=debug
DMSP_BASE_URL=https://doi.org/10.11111/ZZ
# Apollo RestDataSource Cache TTL
REST_DATA_SOURCE_CACHE_TTL=180
# If you want access to live data you will need to set the above variable to `false`
# and then provide fill out the following variables
AWS_REGION=us-west-2
# Bcrypt settings
BCRYPT_SALT_ROUNDS=10
# Secret for Hashing Tokens
TOKEN_HASH_SECRET=5e88fbf0-868a-4cff-8f01-2be505b4b742
# JSON Web Token (JWT) settings
JWT_SECRET=ihef93hgf9-u3hgfi3hfte4g4tg4tg4
JWT_TTL=1800000 #30 minutes
JWT_REFRESH_SECRET=7c94d41d-b01d-4a53-bef0-c818f254dbd8
JWT_REFRESH_TTL=86400000 # 24 hours
# CSRF Token settings
CSRF_LENGTH=32
CSRF_TTL=3600 # 1 hour
# DMPHub API
DMPHUB_AUTH_URL=https://auth.mydomain.edu
DMPHUB_API_BASE_URL=https://api.mydomain.edu
DMPHUB_API_CLIENT_ID=1234567890
DMPHUB_API_CLIENT_SECRET=zyxwvutsrq
# DATABASE CONNECTION POOL SETTINGS
MYSQL_CONNECTION_LIMIT=10
MYSQL_QUEUE_LIMIT=100
MYSQL_CONNECT_TIMEOUT=60000 # 1 minute