add volumes to container as map

This commit is contained in:
mr
2024-10-01 10:17:22 +02:00
parent e621fb616a
commit 4ec32bafa7
2 changed files with 5 additions and 6 deletions

View File

@@ -158,6 +158,10 @@ func SetConfig(mongoUrl string, database string, natsUrl string, lokiUrl string,
Type: "string",
ReadOnly: false,
}
m["volumes"] = resource_model.Model{
Type: "map[string]string",
ReadOnly: false,
}
}
accessor.StoreOne(&resource_model.ResourceModel{
ResourceType: model,