Pass FLY_API_TOKEN to the Fly runtime machine

This commit is contained in:
Jonatan Kłosko 2024-07-24 18:05:20 +07:00
parent af511fc774
commit d71dedd842

View file

@ -171,7 +171,9 @@ defmodule Livebook.Runtime.Fly do
Map.new(base_image.env),
%{
"LIVEBOOK_RUNTIME" => runtime_data,
"ERL_AFLAGS" => "-proto_dist inet6_tcp"
"ERL_AFLAGS" => "-proto_dist inet6_tcp",
# Make the token automatically available for FLAME
"FLY_API_TOKEN" => config.token
}
)