Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It occupied me quite a while figuring out why this sample didn't have a restart policy. And why we where supposed to always properly stop the containers wheres you normally would simply hit `Ctrl+C`. Turned out that this `pid` issue is a rails-specific issue. docker/compose#1393 (comment) And of course there's already [a Gem for fixing that](https://github.com/lorenzosinisi/shutup) but having the one-liner in the `docker-compose.yml` keeps the logic where it belongs to (and now also is treated here in the sample).
- Loading branch information