Sign inSign up

codellama/caddy-docker-proxy-porkbun

By codellama

•Updated about 2 years ago

caddy-docker-proxy with porkbun DNS plugin

Image
Web servers
0

452

codellama/caddy-docker-proxy-porkbun repository overview

Combined image of caddy-docker-proxy (https://github.com/lucaslorentz/caddy-docker-proxy⁠) with Porkbun DNS plugin (https://github.com/caddy-dns/porkbun⁠).

docker run -d
-v "<PATH/TO/DATA>:/data:rw"
-v "/var/run/docker.sock:/var/run/docker.sock:rw"
-e "443"
-l "caddy.acme_dns"="porkbun"
-l "caddy.acme_dns.api_key"="<API_KEY>"
-l "caddy.acme_dns.api_secret_key"="<SECRET_KEY>"
"codellama/caddy-docker-proxy-porkbun:latest"

On the containers you wish to proxy set the following labels:

-l "caddy"="PROXIED.DOMAIN.COM"
-l "caddy.reverse_proxy"="{{upstreams 12345}}"

where 12345 is the port the webservice of the container

Tag summary

Content type

Image

Digest

sha256:2f032df2c…

Size

32.2 MB

Last updated

about 2 years ago

docker pull codellama/caddy-docker-proxy-porkbun