feat(docker): Gracefully reload Caddy configuration
All checks were successful
Caddy Manager CI build / docker (push) Successful in 11m33s
All checks were successful
Caddy Manager CI build / docker (push) Successful in 11m33s
This commit is contained in:
@@ -158,6 +158,9 @@ services:
|
||||
ASPNETCORE_ENVIRONMENT: "Production"
|
||||
CaddyService__ConfigDir: "/config"
|
||||
DockerService__CaddyContainerName: "caddy"
|
||||
# Path to the Caddyfile as seen from inside the caddy container. Must match the container side of the
|
||||
# caddy container's config volume. Defaults to /etc/caddy/Caddyfile, so this line is optional above.
|
||||
DockerService__CaddyConfigPathInContainer: "/etc/caddy/Caddyfile"
|
||||
# To have the access to the caddy config file
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
@@ -179,6 +182,8 @@ Currently, the Caddy Manager is able to:
|
||||
- Edit the content of the Caddy configuration files by clicking on the file name
|
||||
- Create and manage the caddy files
|
||||
- Edit the global Caddy configuration file by using the tab "Global Cadddyfile"
|
||||
- Apply configuration changes with a graceful `caddy reload` (no dropped connections, and Caddy validates the
|
||||
configuration first, so a broken file is reported back instead of taking the proxy down)
|
||||
- Restart caddy container on demand
|
||||
- Parse simple information from the caddy configurations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user