-
-
Save rbocchinfuso/75a8421574367e02f78b53023b18c671 to your computer and use it in GitHub Desktop.
Caddy reverse proxy docker compose YAML file
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: "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