Files
homelabdash/docker-compose.yml
T
percoandClaude Sonnet 4.6 f421636ab8 feat: intégration NetMap dans homelabdash
Nouveau card "Appareils réseau" : scan nmap 192.168.1.10–150,
affichage IP/MAC/fabricant/hostname, nommage persistant par device.
Routes: /api/netmap/scan, /api/netmap/names, /api/netmap/name (POST).
Stockage dans netmap_devices.json (volume Docker).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-28 11:57:32 +02:00

23 lines
765 B
YAML

services:
homelabdash:
build: .
container_name: homelabdash
restart: unless-stopped
privileged: true
network_mode: host
volumes:
- /:/rootfs:ro,rslave
- /sys:/sys:ro
- /dev:/dev
- /run/udev:/run/udev:ro
- /home/perco/projects/homelabdash/netmap_devices.json:/app/netmap_devices.json
environment:
- HOST_ROOT=/rootfs
- TZ=Europe/Paris
labels:
- "traefik.enable=true"
- "traefik.http.routers.homelabdash.rule=Host(`homelabdash.nas.percolouco.com`)"
- "traefik.http.routers.homelabdash.entrypoints=websecure"
- "traefik.http.routers.homelabdash.tls.certresolver=letsencrypt"
- "traefik.http.services.homelabdash.loadbalancer.server.url=http://192.168.1.29:8000"