File Structure for Production, UAT and Development

Hi Team,

I have 3 environments ( production,UAT and Development) .

PRODUCTION & UAT Databases are in AZURE Cloud

Development database is in local.

do you want create 3 different Folders under config ? or do you want to create ".env.production , .env.UAT, .env.Development ?

please advice. I am new to strapi. i am from . We used to have 3 different web.config files in our projects.

please do the needful.


Actually you should have only one .env file with the values only for the current environment.

When starting Strapi with NODE_ENV=production it will load the configuration from ./config/* and ./config/env/production/* . Everything defined in the production config will override the default config.