forked from livepeer/runner-app-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (24 loc) · 865 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
26 lines (24 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# End-to-end offchain demo: orchestrator + echo app (trickle realtime video).
#
# The orchestrator service is defined once in ../compose.orchestrator.yml and
# pulled in with `extends`; this file only adds the app. Once up, drive it from
# the host with the SDK client and a sample video:
# docker compose up -d --build
# uv run client.py --blur ~/samples/clip.mp4 # writes echo-out.ts
services:
orchestrator:
extends:
file: ../compose.orchestrator.yml
service: orchestrator
app:
build: .
container_name: example_apps_echo
# Wait for the orchestrator's healthcheck so registration doesn't race its boot.
depends_on:
orchestrator:
condition: service_healthy
command:
- --host=0.0.0.0
- --orchestrator=https://orchestrator:8935
- --orchSecret=abcdef
- --runner-url=http://app:8989