allow setting the nodename explicitly in production

env setup should be as follows:
export REPLACE_OS_VARS=true
export NODENAME=philomena_0
or whatever you wish for the node name
This commit is contained in:
byte[] 2020-04-07 00:41:03 -04:00
parent ae6640e9d3
commit 306f4521e5

View file

@ -3,7 +3,7 @@
## http://erlang.org/doc/man/erl.html
## Name of the node
-name <%= release_name %>@127.0.0.1
-name ${NODENAME}@127.0.0.1
## Cookie for distributed erlang
-setcookie <%= release.profile.cookie %>