-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
46 lines (42 loc) · 935 Bytes
/
docker-compose.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "2.1"
volumes:
x11:
files:
services:
gst-playground:
build: ./
restart: always
privileged: true # run in privileged mode for easy access to soundcards and cameras
depends_on:
- xserver
volumes:
- x11:/tmp/.X11-unix
- files:/files
devices:
- /dev/dri
group_add:
- video
environment:
- GST_DEBUG_DUMP_DOT_DIR=/files/dots
- GST_DEBUG=GST_TRACER:7
- GST_TRACERS=framerate;cpuusage
- GST_SHARK_LOCATION=/files/traces/
- PIPELINE=videotestsrc ! videoconvert ! fakesink
- STOP_PIPELINE_AFTER_SEC=10
xserver:
image: balenablocks/xserver
restart: always
privileged: true
volumes:
- "x11:/tmp/.X11-unix"
environment:
- CURSOR=false
files:
build: ./files_multiarch
restart: always
volumes:
- "files:/files"
environment:
- BROWSE_FOLDER=/files
ports:
- 80