#!/bin/sh

# Set the release node name from the pod IP for Erlang clustering
if [ -n "$POD_IP" ]; then
  export RELEASE_DISTRIBUTION=name
  export RELEASE_NODE=microwaveprop@${POD_IP}
  export RELEASE_COOKIE="${ERLANG_COOKIE:-microwaveprop_cookie}"
fi
