class

Companion::Docker::Compose::File::Service

Inherits YAML::Serializable < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

build
Source
build=(build : String | Nil)
Source
container_name
Source
container_name=(container_name : String | Nil)
Source
environment
Source
environment=(environment : Hash(String, String) | Nil)
Source
image
Source
image=(image : String | Nil)
Source
labels
Source
labels=(labels : Hash(String, String) | Nil)
Source
networks
Source
networks=(networks : Array(String) | Nil)
Source
ports
Source
ports=(ports : Array(String) | Nil)
Source
restart
Source
restart=(restart : String | Nil)
Source
volumes
Source
volumes=(volumes : Array(String) | Nil)
Source