forked from connorgallopo/Tracearr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (22 loc) · 812 Bytes
/
.env.example
File metadata and controls
29 lines (22 loc) · 812 Bytes
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
# Database
DATABASE_URL=postgres://tracearr:tracearr@localhost:5432/tracearr
# Redis
REDIS_URL=redis://localhost:6379
# Optional: prefix for all Redis keys (useful when sharing a Redis instance)
# REDIS_PREFIX=
# Server
PORT=3000
HOST=0.0.0.0
NODE_ENV=development
LOG_LEVEL=debug
# Auth - CHANGE THESE IN PRODUCTION!
JWT_SECRET=your-secret-key-change-in-production
COOKIE_SECRET=your-cookie-secret-change-in-production
# CORS (frontend URL)
CORS_ORIGIN=http://localhost:5173
# Gzip compression - enable if not behind a reverse proxy that handles compression
# GZIP_ENABLED=true
# DNS caching - cache DNS lookups for outbound requests (value in seconds, disabled when unset)
# DNS_CACHE_MAX_TTL=120
# Mobile beta testing mode - enables reusable tokens, no expiry, unlimited devices
# MOBILE_BETA_MODE=true