version: "2"
volumes:
history:
firmware_lock:
services:
webapp:
build: ./webapp
network_mode: host
privileged: true
environment:
HISTFILE: /history/bash_history
- history:/bash_history
- firmware_lock:/firmware_lock
labels:
io.balena.features.supervisor-api: "1"
firmware:
build: ./firmware
restart: on-failure