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