feat(rackpeek): add internal-only rack visualization service
Compose and k8s manifests behind workstation/gigaforust internal hosts.
This commit is contained in:
1 parent
c536a16a2a
commit
16dd67c2c0
5 files changed
+158
No files matched your search
@@ -0,0 +1,34 @@
|
||||
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
|
||||
Reference in new issue
Block a user