-
-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy path.env.dev
More file actions
51 lines (40 loc) · 1.08 KB
/
Copy path.env.dev
File metadata and controls
51 lines (40 loc) · 1.08 KB
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
# ============================================
# RequestRepo Development Configuration
# ============================================
# Use high ports that don't require sudo
# === REQUIRED ===
JWT_SECRET=dev-secret-key-for-local-testing-only-32chars
DOMAIN=localhost
SERVER_IP=127.0.0.1
SERVER_IPV6=
# === Frontend (Vite) - Development Only ===
VITE_DOMAIN=localhost
VITE_HTTP_PORT=21337
# === Server Ports (high ports, no sudo needed) ===
HTTP_PORT=21337
DNS_PORT=20053
SMTP_PORT=20025
HTTPS_PORT=21338
# === TCP Port Range ===
TCP_PORT_RANGE_START=10000
TCP_PORT_RANGE_END=10100
# === Subdomain Configuration ===
SUBDOMAIN_LENGTH=8
SUBDOMAIN_ALPHABET=abcdefghijklmnopqrstuvwxyz0123456789
INCLUDE_SERVER_DOMAIN=true
# === Default DNS TXT Record ===
TXT=Hello from dev!
# === Rate Limiting ===
SESSION_RATE_LIMIT=100
SESSION_RATE_WINDOW_SECS=60
# === Cache/Memory Configuration ===
MAX_SUBDOMAIN_SIZE_MB=10
MAX_REQUEST_BODY_MB=10
CACHE_MAX_MEMORY_PCT=70
# === TLS (disabled for dev) ===
TLS_ENABLED=false
CERT_DIR=./certs
# === Security ===
ALLOW_ALL_HEADERS=true
# === Logging ===
RUST_LOG=debug