-
Notifications
You must be signed in to change notification settings - Fork 82
/
balena.yml
56 lines (50 loc) · 1.73 KB
/
balena.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
47
48
49
50
51
52
53
54
55
56
name: browser
description: >-
a hardware accelerated web browser to present internal and external URLs on a
connected display
post-provisioning: >-
[![balena](https://github.com/balena-labs-projects/browser/actions/workflows/balena.yml/badge.svg)](https://github.com/balena-labs-projects/browser/actions/workflows/balena.yml)
## Usage instructions
Include this snippet in your docker-compose.yml file under 'services':
```
browser:
image: bh.cr/balenalabs/browser-<arch> # where <arch> is one of aarch64, arm32 or amd64
privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
network_mode: host
volumes:
- 'settings:/data' # Only required if using PERSISTENT flag (see below)
```
To pin to a specific [version](CHANGELOG.md) of this block use:
```
browser:
image: bh.cr/balenalabs/browser-<arch>/<version>
privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
network_mode: host
ports:
- '5011' # management API (optional)
- '35173' # Chromium debugging port (optional)
volumes:
- 'settings:/data' # Only required if using PERSISTENT flag (see below)
```
version: 2.9.0
type: sw.block
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/balena-labs-projects/browser'
logo:
type: blob.asset
data:
url: 'https://raw.githubusercontent.com/balena-labs-projects/browser/master/logo.png'
data:
defaultDeviceType: raspberrypi3
supportedDeviceTypes:
- raspberrypi4-64
- fincm3
- raspberrypi3
- raspberrypi3-64
- raspberrypi400-64
- raspberrypi5
- intel-nuc
- genericx86-64-ext