openvibers/openvibe.surf .env.example
.env.example
| 1 | # OpenVibe.Surf — environment (production: /etc/openvibe/surf.env). Names only; never commit values. |
| 2 | |
| 3 | NODE_ENV=production |
| 4 | PORT=5110 |
| 5 | HOST=127.0.0.1 |
| 6 | BASE_URL=https://openvibe.surf |
| 7 | TRUST_PROXY=2 |
| 8 | |
| 9 | # OpenVibe.Network: sign-in (OAuth client `surf`, PKCE S256) and its JWKS. |
| 10 | OV_NETWORK_INTERNAL_URL=http://127.0.0.1:4000 |
| 11 | OV_OAUTH_CLIENT_ID=surf |
| 12 | OV_OAUTH_CLIENT_SECRET= |
| 13 | # The browser is sent to the public origin; the token exchange and the JWKS use the internal one above. |
| 14 | # OV_NETWORK_URL=https://openvibe.network |
| 15 | # OV_NETWORK_ISSUER=https://openvibe.network |
| 16 | # OV_OAUTH_REDIRECT_URI=https://openvibe.surf/auth/callback |
| 17 | # OV_SESSION_AUDIENCE=openvibe.network |
| 18 | |
| 19 | # The three rooms this front joins. Internal origins are what this process calls; public origins are what a person's |
| 20 | # browser and the page links use. |
| 21 | OV_LIVE_INTERNAL_URL=http://127.0.0.1:3000 |
| 22 | OV_GAMES_INTERNAL_URL=http://127.0.0.1:8000 |
| 23 | OV_ACTOR_INTERNAL_URL=http://127.0.0.1:4950 |
| 24 | SURF_GAMES_PUBLIC_URL=https://openvibe.games |
| 25 | # SURF_LIVE_PUBLIC_URL=https://openvibe.live |
| 26 | # SURF_ACTOR_PUBLIC_URL=https://openvibe.actor |
| 27 | |
| 28 | # Optional: the Watch merge (30 s cache, 2 s per Live source), the Ride cache (60 s) and Games timeout, the Actor |
| 29 | # timeout, the per-IP limit. |
| 30 | # SURF_WATCH_CACHE_MS=30000 |
| 31 | # SURF_WATCH_SOURCE_TIMEOUT_MS=2000 |
| 32 | # SURF_RIDE_CACHE_MS=60000 |
| 33 | # SURF_GAMES_TIMEOUT_MS=4000 |
| 34 | # SURF_ACTOR_TIMEOUT_MS=15000 |
| 35 | # SURF_RATE_LIMIT_PER_MIN=120 |
| 36 | # Watch together: open parties and members per party (these may only be lowered; hard caps 200/50). |
| 37 | # SURF_PARTY_MAX=200 |
| 38 | # SURF_PARTY_MEMBER_MAX=50 |
| 39 | |
| 40 | # optional: defaults to true in production |
| 41 | # COOKIE_SECURE=true |
| 42 |