Sign inSign up

pencilshavings/caddy

By pencilshavings

•Updated over 2 years ago

A powerful open source web server (with Linode & Cloudflare DNS support).

Image
0

216

pencilshavings/caddy repository overview

⁠Caddy

A powerful open source web server (with Linode & Cloudflare DNS support).

⁠Dockerfile

FROM docker.io/library/caddy:2.6.4-builder-alpine AS builder

RUN xcaddy build \
    --with github.com/tosie/caddy-dns-linode \
    --with github.com/caddy-dns/cloudflare

FROM docker.io/library/caddy:2.6.4-alpine

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

⁠Caddyfile

You can generate a Personal Access Token from your Linode Dashboard⁠.

You can generate an API Token under your My Profile⁠ page.

Your API Token only needs Zone DNS Read/Edit permissions.

your.domain.com {
  tls {
    dns linode {YOUR_LINODE_PERSONAL_ACCESS_TOKEN}
    # dns cloudflare {YOUR_CLOUDFLARE_API_TOKEN}
  }
}

⁠Notes

  • I don't like using the arbitrary "latest" tag.
  • Any other plugins that I think is necessary may be added, depending on the use case.

Tag summary

Content type

Image

Digest

sha256:fcea304ac…

Size

36.3 MB

Last updated

over 2 years ago

docker pull pencilshavings/caddy:2.7.6