Skip to main content

Daemon config

The local daemon's configuration lives at ~/.dagz/local.env/daemon.yaml. DAGZ creates the file on first zb daemon up, with all defaults written out as comments so the file itself documents the schema.

The daemon always binds to loopback (127.0.0.1 and ::1). The keys below opt into additional listeners or change ports.

listen:
# Docker bridge gateway address. 172.17.0.1 is Linux docker0's default;
# change for rootless Docker, Podman, or a custom bridge.
docker_bridge_addr: 172.17.0.1

# Bind the daemon on docker_bridge_addr so containers on the default
# bridge can reach localhost services without --network=host.
listen_on_docker_bridge: true

# Additional addresses to bind (VPN interface, bond IP, ...). Ports are
# reused from the default listener.
extra_listen_addrs: []

# Web service listen port.
web_port: 29111

# KV service listen port.
kv_port: 29119

After editing, apply with:

zb daemon up --restart --bg

Keys

KeyDefaultWhat it does
docker_bridge_addr172.17.0.1Gateway address of the Docker bridge. Matches Linux's docker0; change for rootless Docker, Podman, or a custom bridge.
listen_on_docker_bridgetrueAlso bind the daemon on docker_bridge_addr so containers on the default bridge reach it without --network=host.
extra_listen_addrs[]Additional addresses to bind (VPN interface, bond IP, etc.). Ports are reused from the default listener.
web_port29111Web service (dashboard) listen port.
kv_port29119KV service listen port.