-
Notifications
You must be signed in to change notification settings - Fork 282
/
.example.env
65 lines (52 loc) · 1.9 KB
/
.example.env
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
59
60
61
62
63
64
65
# General
BACKEND_APP_PORT=3000
FRONTEND_APP_PORT=5000
TRACKER_APP_PORT=3001
NODE_ENV=development
# RATE LIMIT
RATE_LIMIT_TTL=60
RATE_LIMIT_COUNT=100
# PADDLE - (Payment Gateway)
PADDLE_ENABLE=false
PADDLE_WEBHOOK_KEY=
PADDLE_SECRET_KEY=
# LOGGER
LOGGER_CONSOLE_THRESHOLD=INFO # DEBUG, INFO, WARN, ERROR, FATAL
# FRONTEND
DOMAIN=localhost
PUBLIC_PADDLE_KEY= # Not needed for local development
CLIENTSIDE_API_DOMAIN=http://localhost:3000 # Use this verible, while making client side API calls
API_DOMAIN=http://localhost:3000 # If you are running with docker compose change this to http://backend:3000
STORAGE_DOMAIN=Get it from https://cloud.digitalocean.com/spaces
# DATABASE
# If you are running with docker compose change host to postgres
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/reduced_to_db?schema=public"
# REDIS
REDIS_ENABLE=false
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=password
REDIS_TTL=1800000 # 30 minutes in ms (default ttl)
# NOVU - You don't need this when running locally (just verify your email from the database)
NOVU_API_KEY=Get it from https://novu.co/
# KAFKA (Used for analytics)
KAFKA_ENABLE=false
KAFKA_BROKER=""
KAFKA_USERNAME=""
KAFKA_PASSWORD=""
# SAFE URL
SAFE_URL_GOOGLE_SAFE_BROWSING_API_KEY=Get it from https://console.cloud.google.com/apis/credentials
SAFE_URL_ENABLE=false
# AUTH
AUTH_JWT_ACCESS_SECRET=abc1234
AUTH_JWT_REFRESH_SECRET=abc1234
AUTH_GOOGLE_CLIENT_ID=Get it from https://console.cloud.google.com/apis/credentials
AUTH_GOOGLE_CLIENT_SECRET=Get it from https://console.cloud.google.com/apis/credentials
# TRACKER
TRACKER_STATS_TOPIC_NAME=stats
# STORAGE
STORAGE_ENABLE=false
STORAGE_ENDPOINT=Get it from https://cloud.digitalocean.com/spaces
STORAGE_ACCESS_KEY=Get it from https://cloud.digitalocean.com/spaces
STORAGE_SECRET_KEY=Get it from https://cloud.digitalocean.com/spaces
STORAGE_BUCKET_NAME=Get it from https://cloud.digitalocean.com/spaces