OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
cleanup puma config comments and configure host to default from HOST and default to 127.0.0.1
Ivan Kuchin5b9c6d39574c
diff --git a/config/puma.rb b/config/puma.rbindex 4fe6d97c7c0..2b9f7a1fcba 100644--- a/config/puma.rb+++ b/config/puma.rb@@ -7,12 +7,13 @@ threads_min_count = OpenProject::Configuration.web_min_threadsthreads_max_count = OpenProject::Configuration.web_max_threadsthreads threads_min_count, [threads_min_count, threads_max_count].max-# Specifies the `port` that Puma will listen on to receive requests; default is 3000.-#+# Specifies the address on which Puma will listen on to receive requests; default is 127.0.0.1.+set_default_host ENV.fetch("HOST") { "127.0.0.1" }++# Specifies the port that Puma will listen on to receive requests; default is 3000.port ENV.fetch("PORT") { 3000 }.to_i-# Specifies the `environment` that Puma will run in.-#+# Specifies the environment that Puma will run in.environment ENV.fetch("RAILS_ENV") { "development" }# Specifies the number of `workers` to boot in clustered mode.