On a vps I bought from Hetzner company
You need the .env to run the application, right?
Yes, But I prefer to not to put my token in .env which is on the github and also to not to do manual work on server for example export TOKEN='' Actually currently I'm doing it this way
Automate the .env creation by pulling all the necessary secret from your secret vault, and dump it into a file. Do this when the container start
If using Vault just use consulenv
That is a really cool tool: https://github.com/hashicorp/envconsul
Обсуждают сегодня