Skip to content

Instantly share code, notes, and snippets.

@m-dango
Created September 5, 2019 13:12
Show Gist options
  • Save m-dango/e9123df5315888035807a370455ef0e2 to your computer and use it in GitHub Desktop.
Save m-dango/e9123df5315888035807a370455ef0e2 to your computer and use it in GitHub Desktop.
version: '3.7'
networks:
caddy:
services:
echo:
image: hashicorp/http-echo
command: -listen=:80 -text='echo'
networks:
- caddy
labels:
caddy.address: '*'
caddy:
image: lucaslorentz/caddy-docker-proxy
command: -log stdout
networks:
- caddy
ports:
- 2015:2015
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment