Home Catalog Caddy
reverse_proxy

Caddy

Caddy is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Zero Lock-in)
RAM Profile: Low
Default Port: Port 80

Why this Configuration?

Quick Start (Standalone Docker Compose)

The snippet below is immediately ready to run in any standard Docker or Podman environment:

services:
  caddy:
    image: caddy:latest
    container_name: caddy
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - "data_root/caddy/Caddyfile:/etc/caddy/Caddyfile"
      - "data_root/caddy/data:/data"
      - "data_root/caddy/config:/config"
    networks:
      - njorddeploy_net

networks:
  njorddeploy_net:

Start the service directly via the command line: docker compose up -d

Configuration & Environment Variables

Key configuration parameters and defaults derived from the NjordDeploy component template:

Variable Default Value Description
CADDY_HTTP_PORT 80 The external HTTP port for Caddy.
CADDY_HTTPS_PORT 443 The external HTTPS port for Caddy.

Ecosystem & Enterprise Integration

Effortless Management with NjordDeploy

Deploy, monitor, and update this service with a single click on your own hardware via the NjordDeploy Configurator.