Created
April 25, 2017 10:39
-
-
Save jegade/1422ec2552d88f6821f5b4d758ee1aba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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