module

Yozgat::Deploy::Compose

Class methods

detect_compose_file!(repo_dir : String) : String
Source
detect_host_port(compose_path : String) : Int64 | Nil

First published host port from the compose file. Services with a build section are preferred (the app service), otherwise the first service that publishes any port wins.

Source
detect_host_port_from_content(content : String) : Int64 | Nil
Source
execute!(ctx : Context) : Nil
Source
validate_compose!(compose_path : String, has_domains : Bool, domains : Array(Static::DomainInput) = [] of Static::DomainInput, router_name : String = "") : Nil
Source