-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.dev.example
More file actions
79 lines (71 loc) · 2.73 KB
/
.env.dev.example
File metadata and controls
79 lines (71 loc) · 2.73 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ===========================================
# Abyss - Development Configuration
# ===========================================
# Copy this file to .env.dev and fill in your values:
# cp .env.dev.example .env.dev
#
# Run dev infrastructure:
# docker compose -f docker-compose.dev.yml --env-file .env.dev up -d
# Then run backend + frontend locally:
# cd server/Abyss.Api && dotnet run
# cd client && npm run dev
# ===========================================
# ---- Database ----
POSTGRES_USER=abyss
POSTGRES_PASSWORD=changeme
POSTGRES_DB=abyss
POSTGRES_HOST=localhost
POSTGRES_PORT=5433
# ---- JWT ----
JWT_KEY=dev-only-key-replace-in-production-needs-to-be-at-least-64-chars!!
JWT_ISSUER=Abyss
JWT_AUDIENCE=Abyss
SYSADMIN_USERNAME=admin
# ---- CORS (comma-separated) ----
# Include app://abyss for desktop app, capacitor://localhost for iOS, https://localhost for Android
CORS_ORIGINS=http://localhost:5173,http://localhost:5174,app://abyss,capacitor://localhost,https://localhost
# ---- TURN / STUN ----
# TURN server public IP (used by coturn config)
TURN_EXTERNAL_IP=YOUR_PUBLIC_IP
# TURN port (coturn listening port)
TURN_PORT=3478
# TURN realm (must match coturn `realm`)
TURN_REALM=abyss
# TURN REST auth secret (must match coturn `static-auth-secret`)
TURN_AUTH_SECRET=changeme
# TURN URLs shared with clients (comma-separated)
TURN_URLS=turn:YOUR_PUBLIC_IP:3478,turn:YOUR_PUBLIC_IP:3478?transport=tcp
# TURN credential TTL in seconds (short-lived HMAC creds)
TURN_TTL_SECONDS=3600
# ---- LiveKit SFU (optional — voice relay for restrictive networks) ----
# Generate credentials:
# openssl rand -hex 16 → LIVEKIT_API_KEY
# openssl rand -base64 32 → LIVEKIT_API_SECRET
# Leave blank/commented to disable relay (voice uses P2P only).
#LIVEKIT_API_KEY=
#LIVEKIT_API_SECRET=
#LIVEKIT_URL=ws://localhost:7880
#VITE_LIVEKIT_URL=ws://localhost:7880
# ---- SMTP (password reset emails — optional for dev) ----
# Uncomment and configure to test password reset locally.
# For testing, you can use a service like Mailtrap, Mailpit, or MailHog.
#SMTP_HOST=localhost
#SMTP_PORT=1025
#SMTP_USERNAME=
#SMTP_PASSWORD=
#SMTP_FROM_ADDRESS=noreply@localhost
#SMTP_FROM_NAME=Abyss
#SMTP_ENABLE_SSL=false
# ---- Frontend (VITE_ prefix required by Vite) ----
# For web dev. Leave empty or omit when using `npm run dev:mobile` (Vite proxy handles it).
VITE_API_URL=http://localhost:5000
VITE_STUN_URL=stun:stun.l.google.com:19302
# Giphy API key (get one at https://developers.giphy.com/)
VITE_GIPHY_API_KEY=your_giphy_api_key_here
# ---- Sentry (optional — error tracking) ----
# Leave blank to disable. Get DSN from your Sentry project settings.
#VITE_SENTRY_DSN=
# Source map upload (only needed for production builds):
#SENTRY_ORG=
#SENTRY_PROJECT=
#SENTRY_AUTH_TOKEN=