-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
30 lines (24 loc) · 1.86 KB
/
.env.example
File metadata and controls
30 lines (24 loc) · 1.86 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
VITE_SERVER_URL=http://localhost:9901 # Make sure this matches the PORT value below (in development)
FRONTEND_URL=http://localhost:5173 # Make sure this matches the vite.config.ts
POSTGRES_DB_URL=postgresql://
POSTGRES_DB_URL_FLIGHTS=postgresql://
POSTGRES_DB_URL_CHATS=postgresql://
POSTGRES_DB_PW=YOUR_POSTGRES_PASSWORD_HERE
DB_ENCRYPTION_KEY=YOUR_ENCRYPTION_KEY_HERE # Must be 128 Characters Long
REDIS_URL=redis://
DISCORD_CLIENT_ID=YOUR_CLIENT_ID_HERE # Get it from https://discord.com/developers/applications
DISCORD_CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE # Get it from https://discord.com/developers/applications
DISCORD_REDIRECT_URI=http://localhost:9901/api/auth/discord/callback
JWT_SECRET=YOUR_JWT_SECRET_HERE # Randomly generated string (at least 32 characters is recommended)
CEPHIE_API_KEY=YOUR_CEPHIE_API_KEY_HERE # Get it from https://api.cephie.app/dashboard
ROBLOX_CLIENT_ID=YOUR_ROBLOX_CLIENT_ID_HERE # Get it from https://create.roblox.com/docs/cloud/auth/oauth2-registration
ROBLOX_CLIENT_SECRET=YOUR_ROBLOX_CLIENT_SECRET_HERE # Get it from https://create.roblox.com/docs/cloud/auth/oauth2-registration
ROBLOX_REDIRECT_URI=http://localhost:9901/api/auth/roblox/callback
DEBUG=true # Some extra debug logging
PROXYCHECK_API_KEY=YOUR_PROXYCHECK_API_KEY_HERE # Get it from https://proxycheck.io/
PORT=9901 # If you change this, make sure you also changed the .env.vite file for the frontend
VATSIM_CLIENT_ID=YOUR_VATSIM_CLIENT_ID_HERE # Get it from https://vatsim.dev/services/connect/
VATSIM_CLIENT_SECRET=YOUR_VATSIM_CLIENT_SECRET_HERE # Get it from https://vatsim.dev/services/connect/
VATSIM_REDIRECT_URI=http://localhost:9901/api/auth/vatsim/callback
VATSIM_AUTH_BASE= # https://auth.vatsim.net or https://auth-dev.vatsim.net depending on environment
ADMIN_IDS=1234567891011121314,123456789101112131415 # Comma separated list of Discord User IDs who should have admin access