fix(docs): Remove CADDY_INGRESS_NETWORKS env var requirement #2149

Open
stratself wants to merge 1 commit from stratself/continuwuity:stratself/docs-caddy-labels-smallfixes into main

1 commit

Author SHA1 Message Date
6c8c342db1 fix(docs): Remove CADDY_INGRESS_NETWORKS env var requirement
All checks were successful
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 6s
Checks / Prek / Check changed files (pull_request) Successful in 5s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m13s
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
2026-08-19 04:45:41 +00:00