2026-03-15 16:07:55 +03:00
|
|
|
services:
|
|
|
|
|
xcvm-test:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
image: xcvm-test:latest
|
2026-04-18 18:09:12 +03:00
|
|
|
container_name: xcvm-test-install
|
|
|
|
|
hostname: xcvm-test
|
|
|
|
|
privileged: true
|
|
|
|
|
cgroup: host
|
|
|
|
|
volumes:
|
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
|
|
|
|
- ../../dist/XC_VM.zip:/opt/xcvm-install/XC_VM.zip:ro
|
2026-08-23 13:49:37 +03:00
|
|
|
# Test tooling: stream generator (+ sample.mp4) and the queue checker.
|
|
|
|
|
# Consumed by `test_release.sh streamtest`. Read-only — the generator
|
|
|
|
|
# writes HLS segments to a mkdtemp under /tmp, not here.
|
|
|
|
|
- ../../tools:/opt/xcvm-tools:ro
|
2026-04-18 18:09:12 +03:00
|
|
|
ports:
|
2026-04-21 21:48:10 +03:00
|
|
|
- "${XCVM_HTTP_PORT:-8880}:${XCVM_INSTALL_HTTP_PORT:-80}"
|
|
|
|
|
- "${XCVM_HTTPS_PORT:-8443}:${XCVM_INSTALL_HTTPS_PORT:-443}"
|
2026-08-23 13:49:37 +03:00
|
|
|
# Test stream generator (streamtest)
|
|
|
|
|
- "${XCVM_STREAM_PORT:-8088}:8088"
|
2026-04-18 18:09:12 +03:00
|
|
|
stop_signal: SIGRTMIN+3
|