Merge pull request #14323 from QuantumGhost/patch-1

Update compose-file-v3.md
This commit is contained in:
Usha Mandya 2022-03-03 14:11:42 +00:00 committed by GitHub
commit 74164c9a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -659,10 +659,10 @@ services:
> Added in [version 3](compose-versioning.md#version-3) file format.
Specify configuration related to the deployment and running of services. This
only takes effect when deploying to a [swarm](../../engine/swarm/index.md) with
Specify configuration related to the deployment and running of services. The following
sub-options only takes effect when deploying to a [swarm](../../engine/swarm/index.md) with
[docker stack deploy](../../engine/reference/commandline/stack_deploy.md), and is
ignored by `docker-compose up` and `docker-compose run`.
ignored by `docker-compose up` and `docker-compose run`, except for `resources`.
```yaml
version: "{{ site.compose_file_v3 }}"