13 lines
483 B
1
#!/bin/sh
2
3
# configure node for distributed erlang with IPV6 support
4
export ERL_AFLAGS="-proto_dist inet6_tcp"
5
export ECTO_IPV6="true"
6
export DNS_CLUSTER_QUERY="${FLY_APP_NAME}.internal"
7
export RELEASE_DISTRIBUTION="name"
8
export RELEASE_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}"
9
10
# Uncomment to send crash dumps to stderr
11
# This can be useful for debugging, but may log sensitive information
12
# export ERL_CRASH_DUMP=/dev/stderr
13
# export ERL_CRASH_DUMP_BYTES=4096
14