|
|
@@ -241,10 +241,10 @@ examples: |-
|
|
|
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:
|
|
|
@@ -255,7 +255,7 @@ examples: |-
|
|
|
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
|