23 lines
562 B
YAML
23 lines
562 B
YAML
|
|
services:
|
||
|
|
frame-stream-player:
|
||
|
|
build: .
|
||
|
|
image: frame-stream-player:latest
|
||
|
|
container_name: frame-stream-player
|
||
|
|
restart: unless-stopped
|
||
|
|
ports:
|
||
|
|
- "3000:3000"
|
||
|
|
environment:
|
||
|
|
PORT: "3000"
|
||
|
|
NODE_ENV: production
|
||
|
|
extra_hosts:
|
||
|
|
- "host.docker.internal:host-gateway"
|
||
|
|
|
||
|
|
# CPU decoding is the default and does not need device passthrough.
|
||
|
|
#
|
||
|
|
# Optional Intel/AMD VAAPI device passthrough:
|
||
|
|
# devices:
|
||
|
|
# - "/dev/dri:/dev/dri"
|
||
|
|
#
|
||
|
|
# Optional NVIDIA passthrough with Docker Compose v2:
|
||
|
|
# gpus: all
|