Remove obsolete "version" value from example docker-compose.yml in README.md and from .yml files in

examples 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 <36978574+lemondjeff@users.noreply.github.com>
This commit is contained in:
Jeff Miller 2024-04-01 16:07:03 -07:00 committed by Jeff Miller
parent 061251e599
commit b033a18a24
4 changed files with 0 additions and 8 deletions

View File

@ -25,8 +25,6 @@
[Docker-compose](https://docs.docker.com/compose/install/) example:
```yaml
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

View File

@ -1,5 +1,3 @@
version: "3"
# https://github.com/pi-hole/docker-pi-hole/blob/master/README.md
services:

View File

@ -1,5 +1,3 @@
version: "3"
# https://github.com/pi-hole/docker-pi-hole/blob/master/README.md
services: