Dynamic NODE_ENV configs for database.
Fixed merge conflicts.