How to reload env vars when restarting a mix release app?

you can’t do that. You need to restart the parent shell that started Erlang process to get the new environment variables in.