Remove ports from caddy docker-compose

The caddy container specifies "host" networking so the ports aren't necessary. 
Older versions of docker/docker-compose may have just ignored the the ports when
 using "host" networking, but I was unable to get the containers to start using docker-compose 
1.29.2 / docker 20.10.24+dfsg1, build 297e128 as it threw an error around having 
specified ports AND "host" networking.
This commit is contained in:
Sid Sethupathi
2025-07-25 22:41:06 -04:00
committed by GitHub
parent c4e1019b87
commit b12ff7e720
-3
View File
@@ -12,9 +12,6 @@ services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=caddy
volumes: