mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-03 02:04:30 +08:00
Fix clustering configuration on Fly.io (#2682)
This commit is contained in:
parent
4f44d4c760
commit
85520a60b2
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
if [ "$LIVEBOOK_CLUSTER" = "auto" ] && [ ! -z "$FLY_APP_NAME" ]; then
|
||||
export ERL_AFLAGS="-proto_dist inet6_tcp"
|
||||
export LIVEBOOK_CLUSTER="dns:${FLY_APP_NAME}.internal"
|
||||
if [ ! -z "${LIVEBOOK_NODE}" ];
|
||||
if [ -z "${LIVEBOOK_NODE}" ];
|
||||
then export LIVEBOOK_NODE="${FLY_APP_NAME}-${FLY_IMAGE_REF##*-}@${FLY_PRIVATE_IP}";
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue