Files
hassio-addons/zoneminder/config.yaml
Claude f19d668d07 fix: force IPv4 host resolution for MariaDB addon connections (#2688)
On HAOS >=17.3 the Supervisor Docker network gained IPv6, so
core-mariadb resolves to an IPv6 address first. The official MariaDB
addon only grants its service user from the IPv4 supervisor subnet, so
connections from IPv6 fail with "Access denied".

Resolve the hostname to its IPv4 address before connecting in every
addon that consumes bashio::services 'mysql' 'host': photoprism,
monica, fireflyiii, seafile, zoneminder. Fall back to the raw hostname
if resolution fails so IPv4-only setups keep working unchanged.
2026-05-10 04:01:52 +00:00

100 lines
1.8 KiB
YAML

arch:
- aarch64
- amd64
description:
A full-featured, open source, state-of-the-art video surveillance software
system
devices:
- /dev/dri
- /dev/dri/card0
- /dev/dri/card1
- /dev/dri/renderD128
- /dev/vchiq
- /dev/video10
- /dev/video11
- /dev/video12
- /dev/video13
- /dev/video14
- /dev/video15
- /dev/video16
- /dev/ttyUSB0
- /dev/sda
- /dev/sdb
- /dev/sdc
- /dev/sdd
- /dev/sde
- /dev/sdf
- /dev/sdg
- /dev/nvme
- /dev/nvme0
- /dev/nvme0n1
- /dev/nvme0n1p1
- /dev/nvme0n1p2
- /dev/nvme0n1p3
- /dev/nvme1n1
- /dev/nvme1n1p1
- /dev/nvme1n1p2
- /dev/nvme1n1p3
- /dev/nvme2n1
- /dev/nvme2n1p1
- /dev/nvme2n1p2
- /dev/nvme2n3p3
- /dev/mmcblk
- /dev/fuse
- /dev/sda1
- /dev/sdb1
- /dev/sdc1
- /dev/sdd1
- /dev/sde1
- /dev/sdf1
- /dev/sdg1
- /dev/sda2
- /dev/sdb2
- /dev/sdc2
- /dev/sdd2
- /dev/sde2
- /dev/sdf2
- /dev/sdg2
- /dev/sda3
- /dev/sdb3
- /dev/sda4
- /dev/sdb4
- /dev/sda5
- /dev/sda6
- /dev/sda7
- /dev/sda8
- /dev/nvme0
- /dev/nvme1
- /dev/nvme2
environment:
DIR_IMAGES: /var/cache/zoneminder/images2
DIR_SOUNDS: /var/cache/zoneminder/sounds2
DZM_CONFIG_DIR: /config/addons_config/zoneminder
ZM_DIR_EVENTS: /var/cache/zoneminder/events2
image: ghcr.io/alexbelgium/zoneminder-{arch}
map:
- config:rw
- media:rw
- share:rw
- ssl
name: Zoneminder
options:
env_vars: []
Images_location: /config/addons_config/zoneminder/images
ports:
80/tcp: 3778
ports_description:
80/tcp: web interface
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
Images_location: str
services:
- mysql:want
slug: zoneminder
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "1.38.1-1"
webui: "[PROTO:ssl]://[HOST]:[PORT:80]/zm"