A (micro) dashboard for your homelab integrated with Consul
This project will feed Consul's service catalogue into a handlebar template file.
It will serve the current directiory staticaly, so you can include images and CSS if needed.
A basic index.hbs
template looks like:
This project aims to run on Docker with minimal size, and also targets multiplaform builds, including Windows, Linux and Raspberry Pi (Zero to 4).
You can either compile it with cargo build --release
or use the provided bltavares/home-consule
Docker image.
Platform | Docker | Size |
---|---|---|
armv7-musleabihf | Yes | 4.69MB |
arm-musleabi | Yes | 4.79MB |
aarch64-musl | Yes | 4.69MB |
x86_64-musl | Yes | 6.07MB |
Windows | No | 5.81MB |
Mac | No | N/A |
Example command for Docker
docker run -d \
--restart=unless-stopped \
-v ${PWD}:/app \
-p 3000:3000 \
-e CONSUL_HTTP_TOKEN \
-e CONSUL_HTTP_ADDR \
--name home \
bltavares/home-consule
To build and publish multi-architecture docker images:
make all
make publish
make manifest