As to my knowledge, strapi does not provide any options to set the email urls via the environment variable. So I included it into the strapi bootstrap function. It relies on the environment variable common.emails.resetPasswordUrl
:
// index.ts
import type { Core } from "@strapi/strapi"
async function setEmailConfiguration(strapi: Core.Strapi) {
strapi.log.info("✉️ Setting email configuration...")
const resetPasswordUrl = strapi.config.get("common.emails.resetPasswordUrl")
strapi.log.info(`✉️ Reset password Url: ${resetPasswordUrl}`)