#!/bin/sh

VERSION=$(cat /home/pi/.companion-version)
IMAGE=ghcr.io/bitfocus/companion/companion:$VERSION

docker run -d --privileged \
    --network host \
    --restart unless-stopped \
    --name companion \
    -v companion-config:/companion \
    $IMAGE
