35 lines
992 B
YAML
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
|