mirror of
https://github.com/jetkvm/cloud-api.git
synced 2026-05-21 05:20:36 +00:00
43 lines
845 B
Bash
43 lines
845 B
Bash
PORT=3000
|
|
DATABASE_URL="postgresql://jetkvm:jetkvm@localhost:5432/jetkvm?schema=public"
|
|
|
|
##
|
|
## Google Auth with OIDC Configuration
|
|
##
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
API_HOSTNAME=
|
|
APP_HOSTNAME=
|
|
|
|
##
|
|
## Cloudflare TURN Service
|
|
##
|
|
CLOUDFLARE_TURN_ID=
|
|
CLOUDFLARE_TURN_TOKEN=
|
|
|
|
##
|
|
## Session Cookie Secret
|
|
##
|
|
COOKIE_SECRET=
|
|
|
|
###
|
|
### S3 Compatible Storage
|
|
###
|
|
R2_ENDPOINT=
|
|
R2_ACCESS_KEY_ID=
|
|
R2_SECRET_ACCESS_KEY=
|
|
R2_BUCKET=
|
|
R2_CDN_URL=
|
|
|
|
# Allowed CORS Origins, split by comma
|
|
CORS_ORIGINS=https://app.jetkvm.com,http://localhost:5173
|
|
|
|
# Allowed account emails, split by comma (leave empty to allow all)
|
|
ALLOWED_IDENTITIES=
|
|
|
|
# Real IP Header for the reverse proxy (e.g. X-Real-IP), leave empty if not needed
|
|
REAL_IP_HEADER=
|
|
|
|
# ICE Servers for WebRTC, split by comma (e.g. stun:stun.l.google.com:19302,stun:stun1.l.google.com:19302)
|
|
ICE_SERVERS=
|