How to set distribution cookie at Phoenix release app?

im running phx app at release. I want to set erlang distribution cookie for phoenix app.

Currently i setup at /root/.erlang.cookie ,

But when i issue :erlang.get_cookie at iex, it will generate random string.

Need advice. Thanks