docs(streaming): document the session manager settings

This commit is contained in:
2026-10-11 01:01:27 -07:00
parent 4e21ec1529
commit 5c5b11722d
4 changed files with 25 additions and 0 deletions
+4
View File
@@ -105,6 +105,10 @@ ENABLE_CACHE_PREWARM=true
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# HOME_RECENT_HOURS=24 # HOME_RECENT_HOURS=24
# ENABLE_CGI=false # ENABLE_CGI=false
# Streamed play for games that can't run in a browser, such as Java applets.
# Off unless both are set. See docs/09-deployment/environment-variables.md.
# STREAMING_API_URL=http://flashpoint-session-manager:8080
# STREAMING_API_TOKEN=
# Serve the built frontend from the backend (on by default in production) # Serve the built frontend from the backend (on by default in production)
# SERVE_FRONTEND=true # SERVE_FRONTEND=true
+3
View File
@@ -64,6 +64,9 @@ services:
# Application # Application
- HOME_RECENT_HOURS=${HOME_RECENT_HOURS:-24} - HOME_RECENT_HOURS=${HOME_RECENT_HOURS:-24}
- ENABLE_CGI=${ENABLE_CGI:-false} - ENABLE_CGI=${ENABLE_CGI:-false}
# Streamed play for games that can't run in a browser (off unless both are set)
- STREAMING_API_URL=${STREAMING_API_URL:-}
- STREAMING_API_TOKEN=${STREAMING_API_TOKEN:-}
# OpenTelemetry # OpenTelemetry
- OTEL_ENABLED=${OTEL_ENABLED:-false} - OTEL_ENABLED=${OTEL_ENABLED:-false}
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-} - OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-}
+3
View File
@@ -56,6 +56,9 @@ services:
# Application # Application
- HOME_RECENT_HOURS=${HOME_RECENT_HOURS:-24} - HOME_RECENT_HOURS=${HOME_RECENT_HOURS:-24}
- ENABLE_CGI=${ENABLE_CGI:-false} - ENABLE_CGI=${ENABLE_CGI:-false}
# Streamed play for games that can't run in a browser (off unless both are set)
- STREAMING_API_URL=${STREAMING_API_URL:-}
- STREAMING_API_TOKEN=${STREAMING_API_TOKEN:-}
# OpenTelemetry # OpenTelemetry
- OTEL_ENABLED=${OTEL_ENABLED:-false} - OTEL_ENABLED=${OTEL_ENABLED:-false}
- OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-} - OTEL_EXPORTER_OTLP_ENDPOINT=${OTEL_EXPORTER_OTLP_ENDPOINT:-}
@@ -116,6 +116,21 @@ and API share one origin.
| `FRONTEND_DIST_PATH` | `<backend>/../frontend/dist` | Location of the built frontend (rarely needed) | | `FRONTEND_DIST_PATH` | `<backend>/../frontend/dist` | Location of the built frontend (rarely needed) |
| `RUFFLE_DATA_PATH` | `/app/data/ruffle` in production | Where Ruffle is installed. Must sit on a mounted volume, or an in-app update is lost when the container is recreated | | `RUFFLE_DATA_PATH` | `/app/data/ruffle` in production | Where Ruffle is installed. Must sit on a mounted volume, or an in-app update is lost when the container is recreated |
**Streaming:**
Games that can't run in a browser, such as Java applets, can be streamed from a
server-side container by a separate session manager (flashpoint-ultimate-server).
The backend asks it which games are streamable and starts sessions for players.
Browsers reach each stream at `/stream/<id>/` on this site, so the reverse proxy
in front of flashpoint-web must route `/stream/` to the session manager,
including WebSocket upgrades. Saves for streamed games are kept in each
browser's IndexedDB.
| Variable | Default | Description |
| --------------------- | ------- | ---------------------------------------------------------------------- |
| `STREAMING_API_URL` | - | Session manager's internal API, e.g. `http://flashpoint-session-manager:8080` |
| `STREAMING_API_TOKEN` | - | Token the session manager expects. Streaming is off unless both are set |
**OpenTelemetry:** **OpenTelemetry:**
| Variable | Default | Description | | Variable | Default | Description |