fix(docs): Remove CADDY_INGRESS_NETWORKS env var requirement

Following some discussions in the support room, this env is best made
redundant. It is only recommended as a workaround for some scenarios
where Caddy fails to detect the ingress network.
However, Docker breaks this by appending prefixes to network names.

The other approach of:

```diff
services:
  caddy:
+   environment:
+     - CADDY_INGRESS_NETWORKS=proxy
networks:
  proxy:
+   name: proxy
```

Can be suggested, but probably not necessary to document.

See https://github.com/lucaslorentz/caddy-docker-proxy/issues/207
for further details
This commit is contained in:
stratself authored and Ellis Git committed 2026-08-25 13:59:09 +00:00
1 parent 6c7f5cbe93
commit c049d4cbb3
3 files changed
+2 -8

No files matched your search

@@ -8,8 +8,6 @@ services:
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=caddy
networks:
- proxy
volumes:
@@ -49,7 +47,7 @@ services:
caddy.reverse_proxy: "{{upstreams 8008}}"
volumes:
db:
db:
networks:
proxy:
proxy:
@@ -27,8 +27,6 @@ services:
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=proxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/data
@@ -8,8 +8,6 @@ services:
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=proxy
networks:
- proxy
volumes: