3 ms·
That's literally what they're for. Take for instance: DATABASE_URL is a fail-safe method of configuring. When you install the app in dev, the app can _only_ po
by exabrial 6y ago
That's literally what they're for. Take for instance:
DATABASE_URL is a fail-safe method of configuring. When you install the app in dev, the app can _only_ point to the dev database. If the variable is absent, the application fails to start. If the prod URL is accidentally put in the the dev environment, firewall rules would prevent the prod connection.
Configuration is _best_ put into the environment, not the application itself.