https://medium.com/@tuzhilkin/using-bash-for-templating-configuration-files-in-docker-containers-8bb8e986f7e1