Use published hiimmilan/health-check image in compose
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TdvJYoY8kc8bmBck89U2i6
This commit is contained in:
1 parent
7206e0c4db
commit
d80c40065e
2 files changed
+12
-3
No files matched your search
@@ -21,8 +21,11 @@ Assistant as a device with sensors and no manual configuration.
|
|||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
|
The compose file pulls the published multi-arch image
|
||||||
|
`hiimmilan/health-check` (amd64, arm64, arm/v7):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker compose up -d --build
|
docker compose pull && docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open `http://<device>:9999/`.
|
Then open `http://<device>:9999/`.
|
||||||
@@ -111,3 +114,10 @@ Entities per device:
|
|||||||
python3 -m unittest discover -s tests
|
python3 -m unittest discover -s tests
|
||||||
DB_PATH=./data/hc.db python3 app.py
|
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 .
|
||||||
|
```
|
||||||
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
healthcheck:
|
healthcheck:
|
||||||
build: .
|
image: hiimmilan/health-check:latest
|
||||||
image: healthcheck-container
|
|
||||||
container_name: healthcheck
|
container_name: healthcheck
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Host networking exposes the Wi-Fi interface to the container. The app
|
# Host networking exposes the Wi-Fi interface to the container. The app
|
||||||
|
|||||||
Reference in new issue
Block a user