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