diff --git a/README.md b/README.md index 822fe36..421601c 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,13 @@ Every time a Docker object changes, the plugin updates the Caddyfile and trigger ## Basic usage example, using docker-compose ```shell -$ docker network create caddy +$ docker network create caddy --ipv6 ``` +> [!NOTE] +> The `--ipv6` flag instructs Docker to assign IPv6 addresses for all containers connected to this network. +> Without this flag, Caddy (as well as any upstream services) will see Docker's gateway IP address instead of the actual client IP addresses for IPv6 clients. + `caddy/docker-compose.yml` ```yml version: "3.7"