Where I should go to set the `DISCOURSE_ENABLE_CORS` env variable?

Embedding is not my forte, but I think you would set that in /admin/customize/embedding rather than changing the environment variable?