-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
58 lines (47 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Database
DATABASE_HOST=postgres
DATABASE_PORT=5432
DATABASE_USERNAME=tuanthanh
DATABASE_PASSWORD=123456
DATABASE_NAME=social-network-SNet
# Access token
JWT_ACCESS_EXPIRE=432000000
# Refresh token
JWT_REFRESH_EXPIRE=1296000000
JWT_REFRESH_EXPIRE_DAY=15
# Rate limit
THROTTLE_TTL=60000
THROTTLE_LIMIT=100
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=123456
REDIS_DB=0
# Redis
BULLMQ_HOST=redis
BULLMQ_PORT=6379
BULLMQ_PASSWORD=123456
BULLMQ_DB=1
# Mail
MAIL_HOST=smtp.gmail.com
MAIL_PASSWORD='gwti fkzn bfng ngho'
MAIL_FORM=${MAIL_USER}
MAIL_TRANSPORT=smtp://${MAIL_USER}:${MAIL_PASSWORD}@${MAIL_HOST}
# Elasticsearch
ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=tuanthanh
# Logstack
LOGSTASH_HOST=logstash
LOGSTASH_PORT=5044
# Gemini
GEMINI_API_KEY='AIzaSyAEJLCwGcI5i2u8s80q1QESMoTulcuQt1w'
# Node
NODE_ENV=development
PORT=3000
HOST=http://localhost:3000/
# FastAPI
FASTAPI_HOST=localhost
FASTAPI_PORT=8000
API_PREFIX=''