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