Public | Automated Build

Last pushed: a year ago
Short Description
Caddyserver on top of Alpine
Full Description

caddy-alpine-docker

Caddy server docker image based on Alpine.

Usage

docker run -d -p 80:80 -p 443:443 -v ./Caddyfile:/Caddyfile -v ./www:/var/www --name=some_name trippel/caddy-alpine

If intend to use Let's Encrypt you should mount a volume to /root/.caddy

A docker-compose file could look like this:

caddy:
  image: trippel/caddy-alpine
  ports:
    - 80:80
    - 443:443
  volumes:
    - ./Caddyfile:/Caddyfile
    - ./caddy:/root/.caddy
    - ./www:/var/www
  restart: always
Docker Pull Command
Owner
trippel
Source Repository