If you’re SSH’d into the Discourse server and Discourse is installed in that path then yes.
You can check what’s in that line by doing this:
cat /var/discourse/containers/app.yml | grep "DISCOURSE_SMTP_ADDRESS:"
It should return something, if it doesn’t then there’s something more fundamental that’s awry with your setup.