bitpressio / docker-for-php-developers-errata

Reported errata for https://bitpress.io/docker-for-php-developers/
13 stars 0 forks source link

Chapter 4: update xdebug config via environment variables #6

Closed vincentwongso closed 6 years ago

vincentwongso commented 6 years ago

Page 53, doing docker-compose restart doesn't seems to update the environment variables inside an existing container. The solution is to rebuild the container to make sure the environment variables are updated in the app container.

Refer to docker's manual here: https://docs.docker.com/compose/reference/restart/

paulredmond commented 6 years ago

Thanks @vincentwongso!

I have a document with Errata and the text will eventually be updated with the corrected text.

Here's the errata reference:

https://github.com/bitpressio/docker-for-php-developers-errata/blob/master/errata.md#no_entry_sign-page-53---incorrect-information-about-env-changes

vincentwongso commented 6 years ago

Thanks @paulredmond, I should have checked the errata first.

paulredmond commented 6 years ago

No worries @vincentwongso 👍 I hope to get a new release out once I wrap up the videos and collect errata from readers.