Postgres SSL certificate

Does discourse use ssl when connecting to an externally configured postgres database?

As long as you properly configure your external server… yes.

hello. discourse docker version postgres ssl connection - is there a way to set it to use a .crt file?

The digitalocean database can be used only when the db ssl connection using the .crt file is set as default.