Merge pull request #44 from gmsantos/patch-1

Simplify docker-compose command with override file
This commit is contained in:
Maxime Helias 2019-01-25 15:06:42 +01:00 committed by GitHub
commit d5cc26520a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.