mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Attach Livebook metadata to Fly runtime machines (#2763)
This commit is contained in:
parent
34fadc3996
commit
e7724d5356
|
@ -201,7 +201,8 @@ defmodule Livebook.Runtime.Fly do
|
||||||
mounts: config.volume_id && [%{volume: config.volume_id, path: "/home/livebook"}],
|
mounts: config.volume_id && [%{volume: config.volume_id, path: "/home/livebook"}],
|
||||||
auto_destroy: true,
|
auto_destroy: true,
|
||||||
restart: %{policy: "no"},
|
restart: %{policy: "no"},
|
||||||
env: env
|
env: env,
|
||||||
|
metadata: %{livebook_runtime: true}
|
||||||
}
|
}
|
||||||
|
|
||||||
case Livebook.FlyAPI.create_machine(
|
case Livebook.FlyAPI.create_machine(
|
||||||
|
|
Loading…
Reference in a new issue