mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 15:56:40 +00:00
68d60d8aaa
This will allow the supervisor service to be correctly named on the API Change-type: patch
17 lines
479 B
YAML
17 lines
479 B
YAML
version: '2.1'
|
|
|
|
services:
|
|
# This service can only be named `main` or `balena-supervisor` as older
|
|
# devices will keep relying on the `/v6/supervisor_release` endpoint that
|
|
# identifies the supervisor image by that service name.
|
|
balena-supervisor:
|
|
build: ./
|
|
privileged: true
|
|
tty: true
|
|
restart: always
|
|
network_mode: host
|
|
labels:
|
|
io.balena.features.balena-api: '1'
|
|
io.balena.features.dbus: '1'
|
|
io.balena.features.balena-socket: '1'
|