-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.sample
57 lines (43 loc) · 1.23 KB
/
.env.sample
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
54
55
56
57
# ------------- app settings -------------
APP_NAME="Your app name here"
APP_DESCRIPTION="Your app description here"
APP_VERSION="0.1"
CONTACT_NAME="Your name"
CONTACT_EMAIL="Your email"
LICENSE_NAME="The license you picked"
# ------------- database -------------
POSTGRES_USER=""
POSTGRES_PASSWORD=""
POSTGRES_SERVER="localhost"
POSTGRES_PORT=5432
POSTGRES_DB=""
# ------------- redis cache-------------
REDIS_CACHE_HOST="localhost"
REDIS_CACHE_PORT=6379
# ------------- redis client-side cache -------------
CLIENT_CACHE_MAX_AGE=30
# ------------- redis queue -------------
REDIS_QUEUE_HOST="localhost"
REDIS_QUEUE_PORT=6379
# ------------- first tier -------------
TIER_NAME="free"
# ------------- redis rate limit -------------
REDIS_RATE_LIMIT_HOST="localhost"
REDIS_RATE_LIMIT_PORT=6379
# ------------- default rate limit settings -------------
DEFAULT_RATE_LIMIT_LIMIT=10
DEFAULT_RATE_LIMIT_PERIOD=3600
# ------------- environment -------------
ENVIRONMENT="local"
# ------------- crypt -------------
SECRET_KEY=""
ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# ------------- admin -------------
ADMIN_NAME=""
ADMIN_EMAIL=""
ADMIN_USERNAME=""
ADMIN_PASSWORD=""
# ------------- xapikey -------------
x_api_key=""