Congratulations! You've reached the final phase. To complete your homelab, you need a way to monitor all your services and ensure they are healthy.
In Phase 9, Gitea and Postgres shared a private network. But what if we want a Monitoring Tool to talk to every service in our homelab by their name?
- Create a global bridge network:
docker network create homelab-net - Task: Add this network to Gitea, Jellyfin, and Pi-hole by adding an
externalnetwork block to their Compose files.
Deploy the legendary Uptime Kuma to monitor your stack.
- Objective: Expose the UI on port 3002.
- Network: Put it on the
homelab-netnetwork.
version: '3'
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
container_name: uptime-kuma
ports:
- 3002:3001
networks:
- homelab-net
volumes:
- ./data:/app/data
networks:
homelab-net:
external: trueIn the Uptime Kuma dashboard:
- Add a "Monitor" for Gitea.
- The Multiplier: Instead of using an IP or
localhost, use its internal name:http://gitea:3000. - Do the same for Jellyfin (
http://jellyfin:8096) and your other services.
If theStatus Page turns GREEN, you have mastered Docker Networking! π’
You have finished the Image-Mania Speedrun! π