Skip to content

Commit 36c4118

Browse files
committed
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 <[email protected]>
1 parent 2004ba2 commit 36c4118

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ Using [Docker-compose](https://docs.docker.com/compose/install/):
2828

2929

3030
```yml
31-
version: "3"
32-
3331
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
3432
services:
3533
pihole:

examples/docker-compose-caddy-proxy.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: "3"
2-
31
services:
42

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

0 commit comments

Comments
 (0)