angular-boilerplate icon indicating copy to clipboard operation
angular-boilerplate copied to clipboard

.env file per environment

Open razbakov opened this issue 8 years ago • 1 comments

I see you use variables:

DEV_DOCKER_IMAGE=hoatle/angular-hello-world:dev_develop
PROD_DOCKER_IMAGE=hoatle/angular-hello-world:develop

Isn't it better to create 2 env files, like this:

.env.dev:

DOCKER_IMAGE=hoatle/angular-hello-world:dev_develop

and

.env.prod

DOCKER_IMAGE=hoatle/angular-hello-world:develop

razbakov avatar Apr 06 '17 18:04 razbakov

thank you for your feedback, it's good and we should follow this, I'm going to improve the existing code base with best practices and it should include ".env file per environment", too.

hoatle avatar Apr 06 '17 23:04 hoatle