Remove version directive from all Docker Compose and Swarm configuration files.
- Eliminated the `version` field across various examples and documentation for simplicity and alignment with newer Docker Compose and Swarm standards. - Updated relevant documentation and example usage instructions accordingly.
This commit is contained in:
parent
99f4ff325b
commit
5397f0166e
20 changed files with 11 additions and 71 deletions
|
|
@ -31,8 +31,6 @@ docker network create -d overlay --attachable easyhaproxy
|
|||
And then deploy the EasyHAProxy stack:
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
haproxy:
|
||||
image: byjg/easy-haproxy:4.6.0
|
||||
|
|
@ -76,8 +74,6 @@ Mapping to `/var/run/docker.sock` is necessary to discover the docker containers
|
|||
To make your containers "discoverable" by EasyHAProxy, that is the minimum configuration you need:
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
container:
|
||||
image: my/image:tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue