Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-02-07 Thread Tom Moore
equires an ssh password that I store in a >> Password Manager that has two-factor authentication. >> >> The docker-compose file can read environment variables from the .env file. >> >> Have a look at Django-Cookiecutter and see how they do it. That helped me >

Re: What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

2020-02-07 Thread Tom Moore
hat you may want to have a > look at if you fancy: https://github.com/ohduran/cookiecutter-react-django > > Happy to hear comments from other people on the quality of this tutorial > while using Heroku. > > Alvaro. > > On Thursday, 30 January 2020 13:41:01 UTC+1, Tom Moore wr

How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-01-30 Thread Tom Moore
Hi there, I'm following the guidelines by making sure the environment variables are stored outside of the settings.py files. The project is "dockerised" and so the environment variables have been stored in files *docker-compose.yml* and *docker-compose-prod.yml*. This includes things like the

What's a recommended/common approach to staging and production apps in Heroku, using Docker containers?

2020-01-30 Thread Tom Moore
Hi there, I'm trying to set up *staging* and *production* apps in Heroku. Nothing fancy, just a way to test the app is running okay on Heroku's platform before it gets pushed to production. The project is containerised in Docker. I've tried setting up a pipeline in Heroku, but when I