Repository navigation
Closed
Labels
area: dockerDocker images, Compose configuration, and deployment.area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or request
Milestone
Description
Summary
Users currently create Proxy Hosts separately from their Docker Compose services. Add optional discovery of explicitly labeled containers as the input to a later managed-host reconciliation flow.
Scope
- Define and document a small RentnerProxy label contract for enablement, domain names, target port/protocol, network selection, and supported certificate/access-policy references.
- Connect to one explicitly configured Docker endpoint; support a constrained read-only API connection and keep discovery disabled by default.
- List eligible containers, inspect required networking metadata, and consume bounded/reconnecting event streams.
- Treat Docker labels and container metadata as untrusted input. This step discovers and validates candidates without modifying Proxy Hosts.
Acceptance criteria
- Only containers with explicit RentnerProxy enablement labels produce candidates.
- Malformed domains, ambiguous/missing ports or networks, unsupported labels, and conflicting candidates return actionable validation results.
- The connection is optional; installations without Docker API access retain all existing appliance behavior.
- The connector uses no container create/start/stop/exec/image/volume mutation operations and documents required read capabilities.
- A read-only bind mount is not presented as an API authorization boundary; document and verify a constrained endpoint/socket-proxy deployment option.
- Event reconnects and duplicate events produce bounded, deterministic discovery results.
- Connection configuration is protected by management permissions and does not appear in public proxy responses or unredacted diagnostics.
- The first version is scoped to one Docker Engine endpoint; Swarm, Kubernetes, and multi-host orchestration are deferred.
Verification
- Use Docker API fixtures for label parsing, networking ambiguity, endpoint failures, reconnects, event bursts, and allowed API requests. Add a short optional isolated Docker discovery smoke.
Context
- Prior art for Compose labels and explicit opt-in: https://doc.traefik.io/traefik/reference/install-configuration/providers/docker/
Dependencies and order
Implementation step: B2-05
Priority: P1 / Docker discovery input
Prerequisites: No preceding Beta 2 feature step. Preserve the existing Beta 1 contracts.
Roadmap: v1.0.0-beta.2. Follow the numbered milestone sequence for a straightforward step-by-step implementation.
Metadata
Metadata
Assignees
Labels
area: dockerDocker images, Compose configuration, and deployment.area: runtimeCaddy and privileged controller runtime behavior.enhancementNew feature or request
Activity
feat(discovery): add Docker source synchronization and management UI (#…