This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contractsbrowser.yml
55 lines (49 loc) · 1.69 KB
/
contractsbrowser.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
name: browser
description: >-
a hardware accelerated web browser to present internal and external URLs on a
connected display
post-provisioning: >-
[![balena](https://github.com/balenablocks/browser/actions/workflows/balena.yml/badge.svg)](https://github.com/balenablocks/browser/actions/workflows/balena.yml)
## Usage instructions
Include this snippet in your docker-compose.yml file under 'services':
```
browser:
image: bhcr.io/balenablocks/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: bhcr.io/balenablocks/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.4.5
type: sw.block
assets:
repository:
type: blob.asset
data:
url: 'https://github.com/balenablocks/browser'
logo:
type: blob.asset
data:
url: 'https://raw.githubusercontent.com/balenablocks/browser/master/logo.png'
data:
defaultDeviceType: raspberrypi3
supportedDeviceTypes:
- raspberrypi4-64
- fincm3
- raspberrypi3
- raspberrypi3-64
- raspberrypi400-64
- intel-nuc
- genericx86-64-ext