Skip to content

Commit

Permalink
Remove obsolete "version" value from example docker-compose.yml in RE…
Browse files Browse the repository at this point in the history
…ADME.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>

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."
  • Loading branch information
lemondjeff committed Apr 20, 2024
1 parent 2004ba2 commit b1455fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions examples/docker-compose-caddy-proxy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:

# Caddy example derived from Caddy's own example at https://hub.docker.com/_/caddy
Expand Down

0 comments on commit b1455fe

Please sign in to comment.