مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 21:39:47 +00:00
support for environment variable for puma PORT
هذا الالتزام موجود في:
@@ -2,7 +2,7 @@ require_relative '../lib/postal/config'
|
|||||||
threads_count = Postal.config.web_server&.max_threads&.to_i || 5
|
threads_count = Postal.config.web_server&.max_threads&.to_i || 5
|
||||||
threads threads_count, threads_count
|
threads threads_count, threads_count
|
||||||
bind_address = Postal.config.web_server&.bind_address || '127.0.0.1'
|
bind_address = Postal.config.web_server&.bind_address || '127.0.0.1'
|
||||||
bind_port = Postal.config.web_server&.port&.to_i || 5000
|
bind_port = ENV['PORT'] || Postal.config.web_server&.port&.to_i || 5000
|
||||||
bind "tcp://#{bind_address}:#{bind_port}"
|
bind "tcp://#{bind_address}:#{bind_port}"
|
||||||
environment Postal.config.rails&.environment || 'development'
|
environment Postal.config.rails&.environment || 'development'
|
||||||
prune_bundler
|
prune_bundler
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم