noahsettersten
commited on
Commit
•
457577d
1
Parent(s):
f1bb76a
chore: Simplify node name to connect from Livebook
Browse files- rel/env.sh.eex +4 -1
rel/env.sh.eex
CHANGED
@@ -9,4 +9,7 @@ export ELIXIR_ERL_OPTIONS="-proto_dist inet6_tcp"
|
|
9 |
export ECTO_IPV6="true"
|
10 |
export DNS_CLUSTER_QUERY="${FLY_APP_NAME}.internal"
|
11 |
export RELEASE_DISTRIBUTION="name"
|
12 |
-
|
|
|
|
|
|
|
|
9 |
export ECTO_IPV6="true"
|
10 |
export DNS_CLUSTER_QUERY="${FLY_APP_NAME}.internal"
|
11 |
export RELEASE_DISTRIBUTION="name"
|
12 |
+
|
13 |
+
# For ease of connecting from Livebook, we've removed `FLY_IMAGE_REF` from our node name.
|
14 |
+
# export RELEASE_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}"
|
15 |
+
export RELEASE_NODE="${FLY_APP_NAME}@${FLY_PRIVATE_IP}"
|