feat(docker): Gracefully reload Caddy configuration
All checks were successful
Caddy Manager CI build / docker (push) Successful in 11m33s

This commit is contained in:
2026-07-26 11:39:59 +07:00
parent 284036b549
commit d0687c9134
10 changed files with 200 additions and 22 deletions

View File

@@ -16,6 +16,12 @@ public class DockerServiceConfiguration
/// Uri to the Docker host
/// </summary>
public string DockerHost { get; set; } = "unix:///var/run/docker.sock";
/// <summary>
/// Path to the Caddyfile as seen from inside the Caddy container, used by `caddy reload`. Must match the
/// container side of the Caddy container's config volume mount.
/// </summary>
public string CaddyConfigPathInContainer { get; set; } = "/etc/caddy/Caddyfile";
/// <summary>
/// Returns the Docker host with environment check. If the environment variable DOCKER_HOST is set, it will return