diff --git a/components/schemas/containers/config/ContainerRuntime.yml b/components/schemas/containers/config/ContainerRuntime.yml index 0efa7c8b..d54f716c 100644 --- a/components/schemas/containers/config/ContainerRuntime.yml +++ b/components/schemas/containers/config/ContainerRuntime.yml @@ -130,6 +130,11 @@ properties: type: - boolean - "null" + expose_instances_dir: + description: If true, Cycle will mount the host's instances directory into the container at `/var/run/cycle/host/instances`. + type: + - boolean + - "null" power_management: description: If true, Cycle will give the container instances access via internal api to power off or reboot the host server. type: diff --git a/stackspec/schema/StackSpecContainerConfigRuntime.yml b/stackspec/schema/StackSpecContainerConfigRuntime.yml index 1c47e198..a686d11f 100644 --- a/stackspec/schema/StackSpecContainerConfigRuntime.yml +++ b/stackspec/schema/StackSpecContainerConfigRuntime.yml @@ -186,6 +186,13 @@ properties: - boolean - "null" - $ref: StackVariable.yml + expose_instances_dir: + description: If true, Cycle will mount the host's instances directory into the container at `/var/run/cycle/host/instances`. + oneOf: + - type: + - boolean + - "null" + - $ref: StackVariable.yml power_management: description: If true, Cycle will give the container instances access via internal api to power off or reboot the host server. oneOf: