Files
dotcom-arcade/streaming/compose.yaml
T
branderson f6cb5555b6 Stream Shockwave and Flash games, sized from their content
A game is streamable when its platform is allowed (STREAM_PLATFORMS,
default Java, Shockwave and Flash) and its launcher resolves under the same
rules fp-command applies. The display is sized from what it launches:
Director movies including Afterburner .dcr and pre-7 VWCF configs, SWF
headers scaled up to fit 1280x960, a page's largest embed, or a projector's
stage. Dimensions are rounded up to even for H.264.
2026-10-13 11:10:34 -07:00

31 lines
943 B
YAML

services:
session-manager:
build: session-manager
container_name: flashpoint-session-manager
restart: unless-stopped
ports:
- "${STREAM_PORT:-8081}:8081"
volumes:
# Starts and removes streamer containers
- /var/run/docker.sock:/var/run/docker.sock
- ${FLASHPOINT_HOST_PATH:?FLASHPOINT_HOST_PATH is required}:/flashpoint:ro
environment:
- FLASHPOINT_HOST_PATH
- API_TOKEN=${API_TOKEN:?API_TOKEN is required}
- MAX_SESSIONS=${MAX_SESSIONS:-4}
- STREAM_PLATFORMS=${STREAM_PLATFORMS:-Java,Shockwave,Flash}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
networks:
- flashpoint
- streams
networks:
# Shared with flashpoint-web, which calls the internal API on port 8080
flashpoint:
name: flashpoint
# Streamer containers: reachable only from the session manager, no internet access
streams:
name: flashpoint-streams
internal: true