L
L
l4m3r2019-03-26 23:42:54
Yii
l4m3r, 2019-03-26 23:42:54

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

1 answer(s)
O
OnYourLips, 2019-03-27
@OnYourLips

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 question

Ask a Question

731 491 924 answers to any question