Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
VITE_SERVER_URL=http://localhost:9901
FRONTEND_URL=http://localhost:5173
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=
DB_ENCRYPTION_KEY=
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=
DISCORD_CLIENT_SECRET=
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=
JWT_SECRET=YOUR_JWT_SECRET_HERE # Randomly generated string (at least 32 characters is recommended)

CEPHIE_API_KEY=
ROBLOX_CLIENT_ID=
ROBLOX_CLIENT_SECRET=
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
PROXYCHECK_API_KEY=
PORT=9901
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=
VATSIM_CLIENT_SECRET=
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=
VATSIM_AUTH_BASE= # https://auth.vatsim.net or https://auth-dev.vatsim.net depending on environment

ADMIN_IDS=1234567891011121314,123456789101112131415
ADMIN_IDS=1234567891011121314,123456789101112131415 # Comma separated list of Discord User IDs who should have admin access
Loading