Skip to content

Instantly share code, notes, and snippets.

@jegade
Created April 25, 2017 10:39
Show Gist options
  • Save jegade/1422ec2552d88f6821f5b4d758ee1aba to your computer and use it in GitHub Desktop.
Save jegade/1422ec2552d88f6821f5b4d758ee1aba to your computer and use it in GitHub Desktop.
version: "2"
services:
frontend:
container_name: frontend
image: abiosoft/caddy:latest
restart: always
command: "-conf /etc/Caddyfile -log stdout -http2=false"
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./certs:/etc/caddycerts
environment:
CADDYPATH: /etc/caddycerts
networks:
- backend
ports:
- "80:80"
- "443:443"
networks:
backend:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment