Sign inSign up

gregdotca/homelabapi

By gregdotca

•Updated 3 days ago

HomelabAPI: a self-hosted API that consolidates all of your homelab notifications and other outputs

Image
Monitoring & observability
0

538

gregdotca/homelabapi repository overview

HomelabAPI is a self-hosted API that you can use to consolidate all of your homelab notifications and other outputs. This allows you to use HomelabAPI as your central input/output hub, and if you ever want to change where your homelab outputs go, it's just a matter of updating your HomelabAPI configuration.

For example, let's say that you have all of your Home Assistant, Synology, and Tailscale notifications routed through HomelabAPI, and you have HomelabAPI configured to send all notifications to Pushover. Now let's say that you want to move your notifications from Pushover to Telegram. Instead of having to go into each of your homelab services and reconfigure where notifications get sent, all you have to do is update HomelabAPI to send to Telegram instead of Pushover, and that's it. One single update and you're done!

If you don't have many outputs being sent from your homelab, HomelabAPI may not be for you. However, if you're like me and have dozens of homelab outputs, you may want to give it a try. Plus it's another service to host in your homelab, how great is that?

For more information please visit our website⁠.

⁠Supported Architectures

Our Docker image supports the architectures listed in the table below. When pulling our image, your system's architecture will automatically be detected and the proper image will be downloaded.

Architectures
x86-64 / amd64
arm64 / arm64/v8
arm32 / arm32/v7 / armhf

⁠Accessing HomelabAPI

After running docker-compose up, HomelabAPI will be available at http://ip-address:8090.

⁠Usage

Sample docker-compose.yml

---
services:

  homelabapi:
    image: gregdotca/homelabapi:latest
    container_name: homelabapi
    environment:
      - TZ=America/Vancouver
    ports:
      - "8090:80"
    restart: unless-stopped
    volumes:
      - ./config.yaml:/code/app/config.yaml

⁠Parameters & Environment Variables

TypeParameter / VariableDefaultDetails
Pports8090:80Change 8090 to the port you want HomelabAPI to run on. Do not change :80.
VTZAmerica/VancouverSet the server's time zone (list of available time zones⁠)

⁠Updating The Container

To update your HomelabAPI container, simply run docker-compose pull && docker-compose up -d

Tag summary

Content type

Image

Digest

sha256:a42b79f9b…

Size

408.4 MB

Last updated

3 days ago

docker pull gregdotca/homelabapi