Config for the hub :
browserTimeout : 0
debug : false
jettyMaxThreads : -1
host : 172.18.0.2
port : 4444
role : hub
timeout : 30
cleanUpCycle : 5000
maxSession : 5
servlets : com.qaprosoft.carina.grid.servlets.DeviceInfo
servlets : com.qaprosoft.carina.grid.servlets.ProxyInfo
hubConfig : /opt/selenium/config.json
capabilityMatcher : com.qaprosoft.carina.grid.MobileCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true
registry : org.openqa.grid.internal.DefaultGridRegistry
Config details :
hub launched with : -browserTimeout 0 -debug false -jettyMaxThreads -1 -host 172.18.0.2 -port 4444 -role hub -timeout 30 -cleanUpCycle 5000 -maxSession 5 -servlets com.qaprosoft.carina.grid.servlets.DeviceInfo -servlets com.qaprosoft.carina.grid.servlets.ProxyInfo -hubConfig /opt/selenium/config.json -capabilityMatcher com.qaprosoft.carina.grid.MobileCapabilityMatcher -newSessionWaitTimeout -1 -throwOnCapabilityNotPresent true -registry org.openqa.grid.internal.DefaultGridRegistry
the final configuration comes from :
the default :
browserTimeout : 0
debug : false
port : 4444
role : hub
timeout : 1800
cleanUpCycle : 5000
capabilityMatcher : org.openqa.grid.internal.utils.DefaultCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true
registry : org.openqa.grid.internal.DefaultGridRegistry

updated with params :
browserTimeout : 0
debug : false
jettyMaxThreads : -1
port : 4444
role : hub
timeout : 30
cleanUpCycle : 5000
maxSession : 5
servlets : com.qaprosoft.carina.grid.servlets.DeviceInfo
servlets : com.qaprosoft.carina.grid.servlets.ProxyInfo
capabilityMatcher : com.qaprosoft.carina.grid.MobileCapabilityMatcher
newSessionWaitTimeout : -1
throwOnCapabilityNotPresent : true
registry : org.openqa.grid.internal.DefaultGridRegistry