@sam, the following two PRs should do the trick.
https://github.com/discourse/discourse_docker/pull/317
https://github.com/discourse/discourse/pull/4598