mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-10 13:38:09 +08:00
Pass FLY_API_TOKEN to the Fly runtime machine
This commit is contained in:
parent
af511fc774
commit
d71dedd842
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ defmodule Livebook.Runtime.Fly do
|
||||||
Map.new(base_image.env),
|
Map.new(base_image.env),
|
||||||
%{
|
%{
|
||||||
"LIVEBOOK_RUNTIME" => runtime_data,
|
"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
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue