Remove obsolete "version" value from example docker-compose.yml in README.md and from examples/docker-compose-caddy-proxy.yml since "Compose doesn't use version to select an exact schema to validate the Compose file, but prefers the most recent schema when it's implemented."

See: https://github.com/compose-spec/compose-spec/blob/master/04-version-and-name.md

Signed-off-by: Jeff Miller <lemondjeff@gmail.com>
This commit is contained in:
Jeff Miller 2024-04-19 16:29:58 -07:00
parent 897baa69f0
commit e239b1cae6
2 changed files with 0 additions and 4 deletions

View File

@ -28,8 +28,6 @@ Using [Docker-compose](https://docs.docker.com/compose/install/):
```yml
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:

View File

@ -1,5 +1,3 @@
version: "3"
services:
# Caddy example derived from Caddy's own example at https://hub.docker.com/_/caddy