vtacquet/proxy

By vtacquet

Updated almost 6 years ago

Creates a proxy to handle SSL certificates and requests with Lets Encrypt.

Image
0

283

Description: Creates a proxy to handle SSL certificates and requests with Lets Encrypt. You can personalize the Caddyfile page by mounting another file (see below).

Example docker-compose entry:

proxy:
  hostname: proxy
  container_name: proxy
  image: vtacquet/proxy
  volumes:
   - /etc/localtime:/etc/localtime:ro
   - /opt/docker/proxy/Caddyfile:/srv/Caddyfile
   - /opt/docker/proxy/certs:/root/.caddy
  ports:
   - "80:80"
   - "443:443"
  links:
   - speedtest

speedtest:
  hostname: speedtest
  container_name: speedtest
  image: vtacquet/speedtest
  volumes:
   - /etc/localtime:/etc/localtime:ro
   - /opt/docker/speedtest/index.html:/site/index.html:ro

Example Caddyfile:

speedtest.yourdomain.com {

    errors stderr

    proxy / speedtest:80 {
        transparent
    }

    tls you@someone.com
}

Docker Pull Command

docker pull vtacquet/proxy