Companion::Docker::Compose::File::Service
Inherits YAML::Serializable < Reference < Object
Constructors
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
build
Sourcebuild=(build : String | Nil)
Sourcecontainer_name
Sourcecontainer_name=(container_name : String | Nil)
Sourceenvironment
Sourceenvironment=(environment : Hash(String, String) | Nil)
Sourceimage
Sourceimage=(image : String | Nil)
Sourcelabels
Sourcelabels=(labels : Hash(String, String) | Nil)
Sourcenetworks
Sourcenetworks=(networks : Array(String) | Nil)
Sourceports
Sourceports=(ports : Array(String) | Nil)
Sourcerestart
Sourcerestart=(restart : String | Nil)
Sourcevolumes
Sourcevolumes=(volumes : Array(String) | Nil)
Source