diff --git a/rel/env.sh.eex b/rel/env.sh.eex index 32ddfa9..a836d09 100644 --- a/rel/env.sh.eex +++ b/rel/env.sh.eex @@ -14,10 +14,11 @@ # # Set the release to load code on demand (interactive) instead of preloading (embedded). # export RELEASE_MODE=interactive -# # Set the release to work across nodes. -# # RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none". -# export RELEASE_DISTRIBUTION=name -# export RELEASE_NODE=<%= @release.name %> +# Set the release to work across nodes. +# RELEASE_DISTRIBUTION must be "sname" (local), "name" (distributed) or "none". +export RELEASE_DISTRIBUTION=name +export RELEASE_NODE=<%= @release.name %>@${DOKKU_APP_NAME:-aprsme}-${DOKKU_APP_INSTANCE:-1}.${DOKKU_APP_NAME:-aprsme} +export RELEASE_COOKIE=${RELEASE_COOKIE:-Euta32aoLfgADYz3TiSCpQP0Y3iD7AD3zu0ycYWI5lQ=} #ip=$(grep fly-local-6pn /etc/hosts | cut -f 1) #export RELEASE_DISTRIBUTION=name