From 4ef8c29c2e9fd0bab68770a765b2b235b4ac045d Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Sat, 8 Apr 2023 13:26:29 +0100 Subject: [PATCH] feat: add version variable so container is properly restarted feat: add version variable so container is properly restarted --- templates/docker-compose.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/docker-compose.template b/templates/docker-compose.template index b8f918e8..8cf87c81 100644 --- a/templates/docker-compose.template +++ b/templates/docker-compose.template @@ -50,6 +50,9 @@ services: - helium-miner expose: - "1681" + environment: + - FIRMWARE_VERSION={{FIRMWARE_VERSION}} + - FIRMWARE_SHORT_HASH={{ENV.FIRMWARE_SHORT_HASH}} labels: io.balena.features.sysfs: 1 io.balena.features.procfs: 1