Replies: 1 comment
-
Using config files is fine, and here are some thoughts:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
usually you have a config/ folder where a basic default.js file is in, which exports an object of configuration values.
e.g.:
And then for each env you create a specific copy of that. e.g.: config/production.js. Which is gitignored.
What is your best practice for handling (complex & nested) config values, which are different for each environment?
Of course you don't want to use 'docker secret' for that right?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions