diff --git a/docs/setup/install/container.md b/docs/setup/install/container.md index d8f6113b..98caa19c 100644 --- a/docs/setup/install/container.md +++ b/docs/setup/install/container.md @@ -39,6 +39,7 @@ Registry](https://github.com/juanfont/headscale/pkgs/container/headscale). The c --volume "$(pwd)/run:/var/run/headscale" \ --publish 127.0.0.1:8080:8080 \ --publish 127.0.0.1:9090:9090 \ + --health-cmd "CMD headscale health" \ docker.io/headscale/headscale: \ serve ``` @@ -66,6 +67,8 @@ Registry](https://github.com/juanfont/headscale/pkgs/container/headscale). The c - /lib:/var/lib/headscale - /run:/var/run/headscale command: serve + healthcheck: + test: ["CMD", "headscale", "health"] ``` 1. Verify headscale is running: