Skip to content

Instantly share code, notes, and snippets.

@rbocchinfuso
Created Sep 23, 2021
Embed
What would you like to do?
Caddy reverse proxy docker compose YAML file
version: "3.7"
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
container_name: caddy
restart: unless-stopped
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=caddy
networks:
- caddy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
networks:
caddy:
external: true
volumes:
caddy_data: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment