Skip to content

Commit ec49db9

Browse files
k-kbkndeloof
authored andcommitted
fix: replace docker-compose.yml with compose.yaml
Signed-off-by: k-kbk <[email protected]>
1 parent e5a353b commit ec49db9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/compose.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ to their predecessors.
7878
For example, consider this command line:
7979

8080
```console
81-
$ docker compose -f docker-compose.yml -f docker-compose.admin.yml run backup_db
81+
$ docker compose -f compose.yaml -f compose.admin.yaml run backup_db
8282
```
8383

84-
The `docker-compose.yml` file might specify a `webapp` service.
84+
The `compose.yaml` file might specify a `webapp` service.
8585

8686
```yaml
8787
services:
@@ -92,7 +92,7 @@ services:
9292
volumes:
9393
- "/data"
9494
```
95-
If the `docker-compose.admin.yml` also specifies this same service, any matching fields override the previous file.
95+
If the `compose.admin.yaml` also specifies this same service, any matching fields override the previous file.
9696
New values, add to the `webapp` service configuration.
9797

9898
```yaml
@@ -207,4 +207,4 @@ $ docker compose --dry-run up --build -d
207207
From the example above, you can see that the first step is to pull the image defined by `db` service, then build the `backend` service.
208208
Next, the containers are created. The `db` service is started, and the `backend` and `proxy` wait until the `db` service is healthy before starting.
209209

210-
Dry Run mode works with almost all commands. You cannot use Dry Run mode with a command that doesn't change the state of a Compose stack such as `ps`, `ls`, `logs` for example.
210+
Dry Run mode works with almost all commands. You cannot use Dry Run mode with a command that doesn't change the state of a Compose stack such as `ps`, `ls`, `logs` for example.

0 commit comments

Comments
 (0)