Sign inSign up

hareemca123/caddyserver

By hareemca123

•Updated almost 8 years ago

Alpine 3.4 Caddyserver image (SINGLE NODE ONLY!)

Image
1

180

hareemca123/caddyserver repository overview

⁠Uses ALPINE:3.4

⁠Volumes:

** * All Caddy data resides within /root/.caddy** ** * Caddyserver will require /var/run/docker.sock:/tmp/docker.sock:ro inorder to read from docker socket**

⁠Run Commands:

Basic HTTP Proxy: docker run -e VIRTUAL_HOST=foo.bar.com add this to your container run command

** If you want the container protected by HTTP Basic Authentication add a BASIC_AUTH env var with the path to protect (i.e. /), username, and password:**

** docker run -e VIRTUAL_HOST=foo.bar.com -e BASIC_AUTH="/ myname mysecrect"**

** Run caddyserver** ** docker run -d --restart=always -v /var/run/docker.sock:/tmp/docker.sock:ro -v /data/.caddy:/root/.caddy --name caddy -p 80:80 -p 443:443 -e CADDY_OPTIONS="--email [email protected]⁠" hareemca123/caddyserver:alpine**

Tag summary

Content type

Image

Digest

Size

24.4 MB

Last updated

almost 8 years ago

docker pull hareemca123/caddyserver:alpine