fix: replace docker-compose.yml with compose.yaml
Signed-off-by: k-kbk <kkbk0077@gmail.com>
This commit is contained in:
parent
43e456145c
commit
e5a353b34d
@ -241,10 +241,10 @@ examples: |-
|
|||||||
For example, consider this command line:
|
For example, consider this command line:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker compose -f docker-compose.yml -f docker-compose.admin.yml run backup_db
|
$ docker compose -f compose.yaml -f compose.admin.yaml run backup_db
|
||||||
```
|
```
|
||||||
|
|
||||||
The `docker-compose.yml` file might specify a `webapp` service.
|
The `compose.yaml` file might specify a `webapp` service.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
@ -255,7 +255,7 @@ examples: |-
|
|||||||
volumes:
|
volumes:
|
||||||
- "/data"
|
- "/data"
|
||||||
```
|
```
|
||||||
If the `docker-compose.admin.yml` also specifies this same service, any matching fields override the previous file.
|
If the `compose.admin.yaml` also specifies this same service, any matching fields override the previous file.
|
||||||
New values, add to the `webapp` service configuration.
|
New values, add to the `webapp` service configuration.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user