You’re not following the instructions.
You can’t use discourse-setup except to have it create the yml file.