Decidim is a Ruby on Rails library, and as such we try to follow their conventions. Please read Configuring Rails Applications.
Just as a reminder, these files are important:
Although most of these settings you can change them through Environment Variables.
You also have more settings in: