2023-09-15 16:24:34 +03:00
|
|
|
# General
|
|
|
|
BACKEND_APP_PORT=3000
|
|
|
|
FRONTEND_APP_PORT=5000
|
2023-12-11 16:01:18 +02:00
|
|
|
TRACKER_APP_PORT=3001
|
2023-09-15 16:24:34 +03:00
|
|
|
NODE_ENV=development
|
|
|
|
|
|
|
|
# RATE LIMIT
|
|
|
|
RATE_LIMIT_TTL=60
|
2023-11-21 14:06:43 +02:00
|
|
|
RATE_LIMIT_COUNT=100
|
2023-09-15 16:24:34 +03:00
|
|
|
|
2024-06-08 16:34:23 +03:00
|
|
|
# PADDLE - (Payment Gateway)
|
|
|
|
PADDLE_ENABLE=false
|
|
|
|
PADDLE_WEBHOOK_KEY=
|
|
|
|
PADDLE_SECRET_KEY=
|
|
|
|
|
2023-09-15 16:24:34 +03:00
|
|
|
# LOGGER
|
|
|
|
LOGGER_CONSOLE_THRESHOLD=INFO # DEBUG, INFO, WARN, ERROR, FATAL
|
|
|
|
|
|
|
|
# FRONTEND
|
|
|
|
DOMAIN=localhost
|
2024-06-08 16:34:23 +03:00
|
|
|
PUBLIC_PADDLE_KEY= # Not needed for local development
|
2023-09-15 16:24:34 +03:00
|
|
|
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
|
2023-12-24 17:58:54 +02:00
|
|
|
STORAGE_DOMAIN=Get it from https://cloud.digitalocean.com/spaces
|
2023-09-15 16:24:34 +03:00
|
|
|
|
|
|
|
# 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
|
2024-04-12 20:43:07 +03:00
|
|
|
REDIS_TTL=1800000 # 30 minutes in ms (default ttl)
|
2023-09-15 16:24:34 +03:00
|
|
|
|
|
|
|
# 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/
|
|
|
|
|
2024-04-19 14:54:42 +03:00
|
|
|
# KAFKA (Used for analytics)
|
|
|
|
KAFKA_ENABLE=false
|
|
|
|
KAFKA_BROKER=""
|
|
|
|
KAFKA_USERNAME=""
|
|
|
|
KAFKA_PASSWORD=""
|
2023-12-06 21:23:46 +02:00
|
|
|
|
2024-04-02 20:31:49 +03:00
|
|
|
# SAFE URL
|
|
|
|
SAFE_URL_GOOGLE_SAFE_BROWSING_API_KEY=Get it from https://console.cloud.google.com/apis/credentials
|
|
|
|
SAFE_URL_ENABLE=false
|
|
|
|
|
2023-12-06 21:23:46 +02:00
|
|
|
# AUTH
|
2023-12-11 16:01:18 +02:00
|
|
|
AUTH_JWT_ACCESS_SECRET=abc1234
|
|
|
|
AUTH_JWT_REFRESH_SECRET=abc1234
|
|
|
|
|
2023-12-06 21:23:46 +02:00
|
|
|
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
|
2023-12-11 16:01:18 +02:00
|
|
|
|
|
|
|
# TRACKER
|
2024-04-19 14:54:42 +03:00
|
|
|
TRACKER_STATS_TOPIC_NAME=stats
|
2023-12-24 17:58:54 +02:00
|
|
|
|
|
|
|
# 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
|