Files
frasier-docker-homebridge/docker-compose.yaml
Tim Kaufmann aebe9ad2de DNS-Konfiguration für externe Auflösung + Dokumentation hinzugefügt
Hybrid-DNS-Setup (127.0.0.11 + 10.11.1.1) ermöglicht:
- Docker-interne Namensauflösung (Fallback)
- Externe DNS-Abfragen über Gateway (10.11.1.1)
- Konsistent mit ipsymcon-Stack

Neue CLAUDE.md mit technischer Referenz für Debugging und Operations.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 22:24:37 +00:00

53 lines
1.2 KiB
YAML

services:
homebridge:
image: homebridge/homebridge:ubuntu
container_name: homebridge
restart: unless-stopped
# Security Hardening
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
cap_add:
- CHOWN # Config file ownership
- SETUID # User switching in entrypoint
- SETGID # Group switching in entrypoint
- DAC_OVERRIDE # Permission override for config files
# Resource Limits
deploy:
resources:
limits:
memory: 1G
cpus: '1.0'
pids: 200
reservations:
memory: 256M
cpus: '0.25'
stop_grace_period: 15s
# macvlan Network - HomeKit mDNS Discovery
networks:
docker_macvlan:
ipv4_address: 10.11.1.243
environment:
- HOMEBRIDGE_CONFIG_UI=1
- HOMEBRIDGE_CONFIG_UI_PORT=8581
- TZ=Europe/Berlin
# DNS für macvlan - externe + interne Auflösung
dns:
- 127.0.0.11 # Docker-intern (Fallback)
- 10.11.1.1 # Gateway (externe Auflösung)
volumes:
- ./mounts:/homebridge
networks:
docker_macvlan:
external: true
name: docker_macvlan