Files
docker_compose/rackinfo.yaml
T
2026-07-14 13:45:46 -05:00

83 lines
2.8 KiB
YAML

services:
##################
# RACKPEEK
##################
# CLI tool to discover, manage, and document your IT infrastructure and home lab.
# https://github.com/Timmoth/RackPeek
rackpeek:
image: aptacode/rackpeek:latest
container_name: rackpeek
restart: unless-stopped
user: "1001:1001"
ports:
- "8086:8080"
labels:
- homepage.group=Utilities
- homepage.name=Rackpeek
- homepage.icon=rackpeek.png
- homepage.href=http://192.168.0.131:8086
- homepage.description=CLI tool to manage and document your home lab
- rackpeek.tags=utilities
volumes:
- /srv/docker/server/rackpeek:/app/config
##################
# DOCKER_GEN
##################
# Generate files from docker container meta-data
# https://github.com/nginx-proxy/docker-gen
docker-gen:
image: jwilder/docker-gen:latest #nginxproxy/docker-gen
container_name: docker-gen
restart: unless-stopped
user: "1001:1001"
volumes:
- "/srv/docker/server/rackpeek/docker-gen:/etc/docker-gen/templates"
environment:
- DOCKER_HOST=tcp://socket-proxy:2375
# Filter containers to use. Multiple filters are comma separated
# https://docs.docker.com/engine/reference/commandline/ps/#filter
- DOCKER_CONTAINER_FILTERS=status=running
#- RUNS_ON=${RUNS_ON} #enables and specifies the name of the System the generated Services run on (runsOn in YAML)
#enables IP and port in the network section of a Service. The IP will always be HOST_IP (useful for ports published on the bridge network)
#IP and port will only be generated if the container binds to 0.0.0.0 (no IP specified) or specifically binds the ip from HOST_IP
- HOST_IP=192.168.0.131
- RUNS_ON=ubuntu
command: [
"docker-gen",
"/etc/docker-gen/templates/rackpeek.tmpl",
# uncomment below line to write to file
"/etc/docker-gen/templates/services.yaml"
]
labels:
rackpeek.name: docker-gen
rackpeek.tags: server
networks:
- socket-net
##################
# HOMELAB_HUB
##################
# web application for managing and visualizing home lab infrastructure. Track hardware, virtual machines, applications, storage, networks, and more — all in one place.
# https://github.com/RaidOwl/homelab-hub
homelab-hub:
image: raidowl/homelab-hub:latest
container_name: homelab-hub
restart: unless-stopped
user: "1001:1001"
ports:
- "8001:8000"
volumes:
- /srv/docker/server/homelab_hub:/data
labels:
- homepage.group=Utilities
- homepage.name=Home Lab Hub
- homepage.icon=rackpeek.png
- homepage.href=http://192.168.0.131:8001
- homepage.description=Web application for managing and visualizing home lab infrastructure
- rackpeek.tags=utilities
networks:
socket-net:
external: true