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
|
|
@ -69,8 +69,6 @@ docker run \
|
|||
If you are using docker-compose you can use this way:
|
||||
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
mycontainer:
|
||||
image: some/myimage
|
||||
|
|
@ -102,8 +100,6 @@ EasyHAProxy supports FastCGI protocol for PHP-FPM and other FastCGI applications
|
|||
#### Using Unix Socket
|
||||
|
||||
```yaml title="PHP-FPM with Unix socket"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
php-fpm:
|
||||
image: php:8.2-fpm
|
||||
|
|
@ -119,8 +115,6 @@ services:
|
|||
#### Using TCP Connection
|
||||
|
||||
```yaml title="PHP-FPM with TCP connection"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
php-fpm:
|
||||
image: php:8.2-fpm
|
||||
|
|
|
|||
|
|
@ -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