diff --git a/README.md b/README.md index 6cfc00c..f41acde 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,11 @@ Assistant as a device with sensors and no manual configuration. ## Running +The compose file pulls the published multi-arch image +`hiimmilan/health-check` (amd64, arm64, arm/v7): + ```sh -docker compose up -d --build +docker compose pull && docker compose up -d ``` Then open `http://:9999/`. @@ -111,3 +114,10 @@ Entities per device: python3 -m unittest discover -s tests DB_PATH=./data/hc.db python3 app.py ``` + +Publish a new image for all Raspberry Pi architectures: + +```sh +docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 \ + -t hiimmilan/health-check:latest -t hiimmilan/health-check:2.0.0 --push . +``` diff --git a/docker-compose.yml b/docker-compose.yml index 0ea9f53..a479b00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,6 @@ services: healthcheck: - build: . - image: healthcheck-container + image: hiimmilan/health-check:latest container_name: healthcheck restart: unless-stopped # Host networking exposes the Wi-Fi interface to the container. The app