Files
nairobi/config/secrets.yml.example
Javi Martín bc9471b49e Define SMTP configuration in the secrets file
Since SMTP passwords should not be in a file under version control, and
they're usually configured in the production.rb file (which is under
version control), the natural place to configure it is the secrets.yml
file.

Until now we were using the capistrano shared folder, but that's a bit
inconvenient since changes we've done to the production.rb file (like
changing eager_load_paths when we upgraded to Rails 5) won't take effect
after a deployment.
2019-11-11 12:11:20 +01:00

95 lines
2.2 KiB
Plaintext

default: &default
secret_key_base: 56792feef405a59b18ea7db57b4777e855103882b926413d4afdfb8c0ea8aa86ea6649da4e729c5f5ae324c0ab9338f789174cf48c544173bc18fdc3b14262e4
email_interceptor_recipients: ""
maps: &maps
map_tiles_provider: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
map_tiles_provider_attribution: "&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors"
apis: &apis
microsoft_api_key: ""
census_api_end_point: ""
census_api_institution_code: ""
census_api_portal_name: ""
census_api_user_code: ""
sms_end_point: ""
sms_username: ""
sms_password: ""
http_basic_auth: &http_basic_auth
http_basic_auth: true
development:
http_basic_username: "dev"
http_basic_password: "pass"
<<: *default
<<: *maps
test:
<<: *default
<<: *maps
staging:
secret_key_base: ""
server_name: ""
rollbar_server_token: ""
http_basic_username: ""
http_basic_password: ""
managers_url: ""
managers_application_key: ""
<<: *default
<<: *maps
<<: *apis
preproduction:
secret_key_base: ""
server_name: ""
# mailer_delivery_method: "smtp"
# smtp_settings:
# address: "smtp.example.com"
# port: 25
# domain: "your_domain.com"
# user_name: "<username>"
# password: "<password>"
# authentication: "plain"
# enable_starttls_auto: true
rollbar_server_token: ""
http_basic_username: ""
http_basic_password: ""
managers_url: ""
managers_application_key: ""
twitter_key: ""
twitter_secret: ""
facebook_key: ""
facebook_secret: ""
google_oauth2_key: ""
google_oauth2_secret: ""
<<: *maps
<<: *apis
production:
secret_key_base: ""
server_name: ""
# mailer_delivery_method: "smtp"
# smtp_settings:
# address: "smtp.example.com"
# port: 25
# domain: "your_domain.com"
# user_name: "<username>"
# password: "<password>"
# authentication: "plain"
# enable_starttls_auto: true
rollbar_server_token: ""
http_basic_username: ""
http_basic_password: ""
managers_url: ""
managers_application_key: ""
twitter_key: ""
twitter_secret: ""
facebook_key: ""
facebook_secret: ""
google_oauth2_key: ""
google_oauth2_secret: ""
<<: *maps
<<: *apis