Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/migrating-from-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,23 @@ At minimum your compose file must:
- set `XDG_RUNTIME_DIR` and `WAYLAND_DISPLAY` on the browser service.

```yaml
version: '2.4'

volumes:
display-socket:
display-socket: # Shared Wayland runtime directory

services:
display:
image: bh.cr/balenasolutions/display-<arch> # <arch> is aarch64 or amd64; see https://github.com/balenasolutions/display
image: bh.cr/balenasolutions/display-<arch> # <arch> is aarch64 or amd64; see https://github.com/balenasolutions/display
privileged: true
volumes:
- display-socket:/run
labels:
io.balena.features.dbus: '1'

browser:
image: bh.cr/balenasolutions/browser-<device-type>
privileged: true
image: bh.cr/balenasolutions/browser-<device-type> # e.g. raspberrypi4-64, raspberrypi5, generic-amd64
privileged: true # required for sound (/dev/snd) and V4L2 video-decode (/dev/video*) device access
depends_on:
- display
environment:
Expand All @@ -40,7 +42,7 @@ services:
devices:
- /dev/dri:/dev/dri
ports:
- '5011:5011'
- '5011:5011' # management API
volumes:
- display-socket:/run
```
Expand Down
Loading