Install Discourse by environment variables in host

Maybe there is, but it will be much better if you do a standard install instead of an unsupported-install . You can receive better support.
Note that environment variables are stored in app.yml in Discourse.