Files
homelab/rackpeek/compose.yaml
T
forust 16dd67c2c0 feat(rackpeek): add internal-only rack visualization service
Compose and k8s manifests behind workstation/gigaforust internal hosts.
2026-09-26 00:00:49 +02:00

35 lines
992 B
YAML

services:
rackpeek:
image: docker.io/aptacode/rackpeek:v2.1.0
container_name: rackpeek
restart: unless-stopped
ports:
- "127.0.0.1:8080:8080"
environment:
TZ: "Europe/Bratislava"
volumes:
- rackpeek-config:/app/config
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.services.rackpeek.loadbalancer.server.port=8080"
# Local Router
- "traefik.http.routers.rackpeek-local.rule=Host(`rackpeek.workstation.internal`) || Host(`rack.workstation.internal`) || Host(`rackpeek.gigaforust.internal`) || Host(`rack.gigaforust.internal`)"
- "traefik.http.routers.rackpeek-local.entrypoints=websecure"
- "traefik.http.routers.rackpeek-local.tls=true"
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:8080/health || exit 1"]
start_period: 15s
timeout: 5s
interval: 30s
retries: 3
volumes:
rackpeek-config:
networks:
proxy:
external: true