diff --git a/lib/foreman/engine.rb b/lib/foreman/engine.rb index c5b3d7b..429ed87 100644 --- a/lib/foreman/engine.rb +++ b/lib/foreman/engine.rb @@ -84,7 +84,7 @@ private ###################################################################### end def base_port - options[:port] || environment["PORT"] || 5000 + options[:port] || environment["PORT"] || ENV["PORT"] || 5000 end def kill_all(signal="SIGTERM")