Installing docker-discourse folder in /var/discourse

Hmm I don’t think that is true, your search is hitting a lot of barely related stuff.

That said I do recommend following the standard path convention unless you have compelling reasons not to.