Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down