We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8abde3e commit 37a6c63Copy full SHA for 37a6c63
rel/server/env.sh.eex
@@ -9,7 +9,8 @@ if [ "$LIVEBOOK_CLUSTER" = "auto" ] && [ ! -z "$FLY_APP_NAME" ]; then
9
esac
10
11
if [ -z "${LIVEBOOK_NODE}" ]; then
12
- export LIVEBOOK_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*:}@${FLY_PRIVATE_IP}"
+ deployment="$(echo "$FLY_IMAGE_REF" | shasum | cut -c 1-10)"
13
+ export LIVEBOOK_NODE="${FLY_APP_NAME}-${deployment}@${FLY_PRIVATE_IP}"
14
fi
15
16
0 commit comments