Nginx should also have a persistent option, so that the .htaccess file gets saved correctly. It also enables the file to be easily edited because the nginx container has no vi or nano.
Fixes SELinux issues. Docker-Compose can do this on the fly https://github.com/docker/compose/issues/643