Connecting Redis and Postgres server over TLS

Is there an env config option which works with TLS connection between the discourse web app and t Redis, Postgres?