app icon indicating copy to clipboard operation
app copied to clipboard

Provide a way to set application environment

Open BoShurik opened this issue 3 years ago • 3 comments

Now there is a note to not rebuild config in production but there is no method to set environment

BoShurik avatar Sep 11 '20 12:09 BoShurik

How about using environment variable as in https://github.com/yiisoft/yii-console/blob/master/bin/yii#L48?

samdark avatar Sep 11 '20 17:09 samdark

@samdark Yes, but this is not enough. Often I need different services definitions for different environment (e.g. logger). It would be great to provide standard way to do that. As I understand composer config plugin support this

BoShurik avatar Sep 12 '20 09:09 BoShurik

See https://github.com/yiisoft/config/pull/64

rustamwin avatar Jul 25 '21 07:07 rustamwin