Guest User

Untitled

a guest
Oct 9th, 2026
5
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. networks:
  2. ha:
  3. name: ha
  4. driver: bridge
  5. enable_ipv6: true
  6. driver_opts:
  7. com.docker.network.bridge.name: br-ha
  8. proxy:
  9. external: true
  10.  
  11. services:
  12.  
  13. matter:
  14. container_name: ha-matter
  15. image: ghcr.io/matter-js/matterjs-server:latest
  16. restart: unless-stopped
  17. network_mode: host
  18. read_only: true
  19. volumes:
  20. - ./matterjs-server:/data
  21. environment:
  22. - DEFAULT_FABRIC_LABEL=Home Assistant
  23. # or HAss will name your fabric the same name as your HAss instance
  24.  
  25. avahi:
  26. container_name: ha-avahi
  27. image: avahi-reflector
  28. pull_policy: build
  29. build: ./avahi
  30. restart: unless-stopped
  31. network_mode: host
  32. cap_add:
  33. - NET_ADMIN
  34. - NET_RAW
  35.  
  36. hass:
  37. container_name: ha-homeassistant
  38. image: ghcr.io/home-assistant/home-assistant:stable
  39. restart: unless-stopped
  40. depends_on:
  41. - mariadb
  42. environment:
  43. - TZ=${TIMEZONE}
  44. - DB_URL=mysql://${HA_DB_USERNAME}:${HA_DB_PASSWORD}@ha-database/${HA_DB_DATABASE}?charset=utf8mb4
  45. volumes:
  46. - ./homeassistant:/config
  47. - ./../media/files:/media
  48. - /ca/media/files/computerbeep_70_louder8db.mp3:/usr/src/homeassistant/homeassistant/components/assist_satellite/preannounce.mp3:ro
  49. privileged: true
  50. ports:
  51. - 8123:8123
  52. networks:
  53. ha:
  54. proxy:
  55. extra_hosts:
  56. - 'host.docker.internal:host-gateway'
  57. labels:
  58. - "traefik.enable=true"
  59. # your proxy conf
  60.  
  61.  
Advertisement
Add Comment
Please, Sign In to add comment