Yes, setting these options in /config/discourse.conf would work, e.g.
smtp_address = 10.0.0.1
smtp_port = 25
# etc...
However, this really isn’ the supported way to install Discourse. ![]()
(All of these settings can also be given as environment variables to Unicorn; simply capitalize the setting’s name and add a DISCOURSE_ prefix.)