Skip to content
dotnet 2 min read

Introducing Caddy Manager: Your UI for Effortless Caddy Configuration

Introducing Caddy Manager: Your UI for Effortless Caddy Configuration
Photo by Hassaan Here / Unsplash

Caddy Manager is a web-based tool for managing Caddy server configurations. It provides a clear interface to view, edit, and organize your Caddyfiles. The goal is to make it easier to handle multiple sites and services, especially when using Caddy in Docker.

How It Works

Caddy Manager is designed to work alongside your existing Caddy container. It does not replace Caddy or change how Caddy works. Instead, it helps you manage your configuration files in a structured way:

This setup keeps your configuration modular and easy to maintain.

Features

Technology

Deployment

To use Caddy Manager, you need Docker and a running Caddy container. Below is an example deployment with the Docker compose:

services:
  caddy:
    image: caddy:latest
    container_name: caddy
    restart: always
    network_mode: "host"
    security_opt:
      - label:disable
    volumes:
      - /root/compose/caddy/config:/etc/caddy
      - /etc/localtime:/etc/localtime:ro

  caddy-manager:
    image: ghcr.io/daothanhduy305/caddymanager
    container_name: caddy-manager
    restart: always
    environment:
      ASPNETCORE_ENVIRONMENT: "Production"
      CaddyService__ConfigDir: "/config"
      DockerService__CaddyContainerName: "caddy"
    # To have the access to the caddy config file
    user: "1000:1000"
    ports:
      - "8080:8080"
    volumes:
      - /root/compose/caddy/config:/config
      - /var/run/docker.sock:/var/run/docker.sock

Screenshots

SCR-20250716-jmnq.png

Contributions

Contributions are welcome—bug reports, feature requests, and pull requests all help improve the project. See the contributing guidelines for details.

Get Started

You can find the source code and more information on the Caddy Manager GitHub repository.


Contact: Ebolo - @daothanhduy305 - daothanhduy305@gmail.com