The recommended way is to follow the install instructions and remove the templates for postgres and redis and add the database settings in env variables.
The two container setup (which you can get by adding a switch to discourse-setup) is an easy way to figure out how to get the env variables.
The advantage over Bitnami is that you can get help here and install plugins following the standard instructions.