Work out the host and port for the container
Avoid docker inspect: 1. Use the container ID as the host 2. Configure the port, default to 3000
This commit is contained in:
@@ -25,6 +25,10 @@ class Kamal::Configuration::Proxy
|
||||
end
|
||||
end
|
||||
|
||||
def port
|
||||
proxy_config.fetch("port", 80)
|
||||
end
|
||||
|
||||
def image
|
||||
proxy_config.fetch("image", DEFAULT_IMAGE)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user