Skip to content

Services and ports

Production profiles

ProfileServices
controlcore, web, edge-control, horizon, scheduler, local control-db, local redis
dnspdns-db, pdns-auth, dnsdist, mmdb-updater
telemetryclickhouse, vector, prometheus, node-exporter, alertmanager
edgecell-01 through cell-08, edge-agent, edge-gateway, vector, mmdb-updater
toolsexplicit migrate and pdns-migrate one-shot services

deploy/production/compose.external-control-data.yml replaces local control-db and redis with configured external endpoints. The control, DNS, edge, and telemetry host overlays add only role-specific publication and gateways.

Production listeners

ListenerDefault host bindExposure
Browser/API web127.0.0.1:8080Publish through the control Caddy overlay
Edge control mTLS0.0.0.0:8443Restrict to registered edge sources
DNSdist${DNS_BIND_V4}:53 TCP and UDPPublic authoritative DNS
Cell slot host diagnosticsloopback 1808118088, 1844418451, 1908119088HTTP, HTTPS, and status; never public
Edge gatewayoperator service IPv4/IPv6 TCP 80, 443Public ingress; TLS passes through
Gateway metricsTCP 9105Restrict to edge agent and monitoring
Cell gateway contractTCP 8081, 8444Private gateway-to-cell network; PROXY protocol version 2 required
DNS API Caddy${PUBLIC_BIND_IPV4}:8444Exact-source allowlist, TLS
Telemetry Caddy${PUBLIC_BIND_IPV4}:8686, :8687Exact-source allowlist, TLS

IPv6 publication exists only when the matching compose.*-host-ipv6.yml overlay is supplied. Do not use a placeholder IPv6 address.

PowerDNS 8081, DNSdist statistics 8083, Vector ingestion 8686/8687, Vector metrics 9598, ClickHouse 8123, Prometheus 9090, Alertmanager 9093, PostgreSQL 5432, Valkey 6379, and OpenResty control 9080 are container-private in the intended production topology.

Networks

NetworkProperty
controlinternal control plane
dns-privateinternal PowerDNS and DNS API
telemetryinternal telemetry
ingressreverse-proxy ingress
edgeedge runtime and agent
egressexplicit outbound access

Compose network isolation complements, but does not replace, provider and host firewalls.

Durable volumes

The base production file defines core-storage, control-db, redis, pdns-db, clickhouse, vector-data, prometheus, edge-state, edge-agent-state, and mmdb. Caddy overlays add their data/config volumes.

Do not remove these volumes during routine stop, upgrade, or testing. Recovery requires the control database plus its encryption/signing keys and external TLS material; the PowerDNS database and edge snapshots are rebuildable but still reduce recovery time when retained.

Development services

The development topology adds persistent dependency/bootstrap volumes, two shared and two quarantine cells, two optional agents, Pebble, origin fixtures, PowerAdmin, and development PKI. Host publications are listed in Developer setup.

PowerAdmin is enabled by the devtools profile used by make dev-up. It is not part of production.

CDNFoundry documentation