Which should I use? Environment variables or settings.json. I don’t want to use both.
relevant;opinionated
if you Dockerize I don’t see the issue with env
Hi, we prefer also a well defined set of YAML setting files. You may have look on that package – looking forward to your feedback. If you prefer JSON files, you can also use those with the above package.
https://atmospherejs.com/4commerce/env-settings
https://atmospherejs.com/4commerce/meteor-namespace-template-helper
Hmm. You only get the configs after Meteor.startup
? Thats not very nice. It looks like this is a very similar approach to Meteor.settings though right?
Hi, the settings are loaded through Package meteor
on a very early stage during bootstrap.
Normally this is the first package which is loaded and is implied by meteor-platform
. This package exports the Meteor
var also.