Answer the question
In order to leave comments, you need to log in
How to store production configs?
I don't quite understand yii-app-advanced. So I did ./init dev on the local machine, configured the configs copied from the envinroment * -local folder. Everything works OK.
When deploying a project, I need to run git pull, composer install, ./init prod. Accordingly, the configs will all be empty. So where can I copy combat local configs from? Where to store them, so that it would be convenient to edit them from the local machine.
Answer the question
In order to leave comments, you need to log in
You need a tool that will execute all the build commands on a special machine, compose the artifact and move it to the server. And on the server will connect the correct config to it.
Keywords - secret, vault. Lots of tools.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question