mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
add support for yaml and json manifests
This commit is contained in:
committed by
Aiden McClelland
parent
a14820087d
commit
48c33be14c
@@ -65,6 +65,7 @@ impl RpcContext {
|
||||
.display()
|
||||
))
|
||||
.await?;
|
||||
let docker = Docker::connect_with_unix_defaults()?;
|
||||
let net_controller = Arc::new(
|
||||
NetController::init(
|
||||
base.tor_control
|
||||
@@ -75,7 +76,8 @@ impl RpcContext {
|
||||
let managers = ManagerMap::init(
|
||||
&mut db.handle(),
|
||||
&mut secret_store.acquire().await?,
|
||||
&*net_controller,
|
||||
docker.clone(),
|
||||
net_controller.clone(),
|
||||
)
|
||||
.await?;
|
||||
let seed = Arc::new(RpcContextSeed {
|
||||
@@ -83,7 +85,7 @@ impl RpcContext {
|
||||
bind_ws: base.bind_ws.unwrap_or(([127, 0, 0, 1], 5960).into()),
|
||||
db,
|
||||
secret_store,
|
||||
docker: Docker::connect_with_unix_defaults()?,
|
||||
docker,
|
||||
net_controller,
|
||||
managers,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user