fix: replace docker-compose.yml with compose.yaml

Signed-off-by: k-kbk <kkbk0077@gmail.com>
This commit is contained in:
k-kbk 2025-03-27 23:15:01 +09:00 committed by Nicolas De loof
parent e5a353b34d
commit ec49db98d4

View File

@ -78,10 +78,10 @@ to their predecessors.
For example, consider this command line:
```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
services:
@ -92,7 +92,7 @@ services:
volumes:
- "/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.
```yaml