You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have subdirectories inside config folder like dev or prod. In there you could place config files to overwrite the config for specific environments.
Why is it needed?
To have different config in different environments.
Suggested solution(s)
Subdirectories inside the sync folder in which you can override the config. Could be used for env specific config, but maby also for logic based config split.
The text was updated successfully, but these errors were encountered:
I noticed this is quite an old request. Is there any progress?
Right now we are excluding some configs from our sync that have data specific to staging or prod environment. In particular the core-store.plugin_users-permissions_advanced config. I saw an environment attribute in the config itself. Is it maybe already possible to create specific files for staging and prod?
This issue has not been worked on since it's creation.
As you noticed the core-store table actually has an environment column which suggests that you can specify different configs for different environments. I haven't played around with this, and haven't seen any documentation about it in the Strapi docs. But it's worth trying out!
Do post your findings here if you've figured out a way to make it work :)
Feature request
Summary
Have subdirectories inside config folder like
dev
orprod
. In there you could place config files to overwrite the config for specific environments.Why is it needed?
To have different config in different environments.
Suggested solution(s)
Subdirectories inside the sync folder in which you can override the config. Could be used for env specific config, but maby also for logic based config split.
The text was updated successfully, but these errors were encountered: