Has bitnami migrated their setup to the docker config? If not, it’s going to be hard to get support here.
I will say that the lines which begin smtp_ are to be pasted into a the discourse.conf file, not entered in a prompt.
If you really Need It Done, Discourse offers a one-time setup for $99 - https://payments.discourse.org/buy/ (It won’t be using bitnami tho)