Sign inSign up

obermotz/caddy-om

By obermotz

•Updated about 19 hours ago

Caddy with the following plugins: deSEC DNS, Cloudflare DNS, replace-response and Caddy-Docker-Proxy

Image
Web servers
0

1.3K

obermotz/caddy-om repository overview

⁠A custom Caddy image

Just a sample docker compose file for it:

services:
  caddy-om:
    image: obermotz/caddy-om:latest
    container_name: caddy-om
    ports:
      - "80:80"
      - "443:443"
    restart: always
    volumes:
     - ./Caddyfile:/etc/caddy/Caddyfile

Also if you want to create something like this, this is the dockerfile:

FROM caddy:builder AS builder

RUN xcaddy build \
    --with github.com/caddy-dns/cloudflare \
    --with github.com/caddy-dns/desec \
    --with github.com/lucaslorentz/caddy-docker-proxy/v2 \
    --with github.com/mholt/caddy-l4 \
    --with github.com/caddyserver/replace-response \
    --with github.com/caddyserver/transform-encoder \
    --with github.com/hslatman/caddy-crowdsec-bouncer/http@main \
    --with github.com/hslatman/caddy-crowdsec-bouncer/appsec@main \
    --with github.com/hslatman/caddy-crowdsec-bouncer/layer4@main

FROM caddy:latest

COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Tag summary

Content type

Image

Digest

sha256:eee674fe3…

Size

42.5 MB

Last updated

about 19 hours ago

docker pull obermotz/caddy-om