Edge on Docker
Run the edge
Section titled “Run the edge”The edge authenticates to the hub with the hub-link PSK. Its iroh
identity is its node.key, generated on first boot and persisted under
/data — mount a volume so the identity survives restarts.
docker run -d --name towonel-edge \ -p 443:443 -p 51820:51820/udp \ -v towonel-edge-data:/data \ -e TOWONEL_EDGE_ENABLED=true \ -e TOWONEL_HUB_ENABLED=false \ -e TOWONEL_EDGE_HUB_LINK_ADDR=hub.example.eu:51444 \ -e TOWONEL_EDGE_HUB_LINK_PSK=$(cat hub.link.psk) \ -e TOWONEL_EDGE_ADVERTISED_ADDRESSES=fra1.example.eu:443 \ codeberg.org/towonel/towonel-node:latestSee Federation for the hub↔edge control link.