services: xcvm-test: build: context: . dockerfile: Dockerfile image: xcvm-test:latest 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 # 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 ports: - "${XCVM_HTTP_PORT:-8880}:${XCVM_INSTALL_HTTP_PORT:-80}" - "${XCVM_HTTPS_PORT:-8443}:${XCVM_INSTALL_HTTPS_PORT:-443}" # Test stream generator (streamtest) - "${XCVM_STREAM_PORT:-8088}:8088" stop_signal: SIGRTMIN+3