Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 384 Bytes

A docker image for Caddy server configurable via environment variable

Usage

In docker-compose.yml:

version: '2'

services:
  www:
    image: greyarch/caddy
    environment:
      CONFIG: |
        :80 {
            log stdout
            errors stdout
            proxy / backend:80
        }

  backend:
    image: nginx
You can’t perform that action at this time.