mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 18:26:06 +00:00
feat: new configuration system (and schema) (#2819)
This commit is contained in:
+6
-1
@@ -6,5 +6,10 @@ $stderr.sync = true
|
||||
|
||||
require_relative "../config/environment"
|
||||
|
||||
HealthServer.start(name: "worker", default_port: 9090)
|
||||
HealthServer.start(
|
||||
name: "worker",
|
||||
default_port: Postal::Config.worker.default_health_server_port,
|
||||
default_bind_address: Postal::Config.worker.default_health_server_bind_address
|
||||
)
|
||||
|
||||
Worker::Process.new.run
|
||||
|
||||
Reference in New Issue
Block a user