simplify docker-compose command with override file

This commit is contained in:
Gabriel Machado
2019-01-25 11:15:50 -02:00
committed by GitHub
parent af96d4b76e
commit c2365164e7

View File

@@ -79,9 +79,11 @@ services:
Then run:
````bash
docker-compose -f docker-compose.yaml -f docker-compose.override.yaml up -d
docker-compose up -d
````
If `docker-compose.yaml` and a `docker-compose.override.yaml` are present on the same directory level, Docker Compose combines the two files into a single configuration, applying the configuration in the `docker-compose.override.yaml` file over and in addition to the values in the `docker-compose.yaml` file.
### Troubleshooting
Inspect the installation with the following command. The requested Xdebug version should be displayed in the output.