feat: new configuration system (and schema) (#2819)

This commit is contained in:
Adam Cooke
2024-02-26 12:41:57 +00:00
committed by GitHub
parent 1c5ff5a9a6
commit 0163ac3d10
77 changed files with 1840 additions and 593 deletions
+25
View File
@@ -0,0 +1,25 @@
# This is an example Postal configuration file for use in
# test environments. For a production example, see
# the https://github.com/postalserver/install repository.
version: 2
main_db:
host: 127.0.0.1
username: root
password:
database: postal-test
message_db:
host: 127.0.0.1
username: root
password:
prefix: postal-test
logging:
enabled: false
rails_log_enabled: false
rails:
environment: test
secret_key: 7f27856d26e864bafd49d0df37ad3d1339086e86ef0447e0f1814dde5277452fea97dab9e3aad6dfa11bfe359c82ce302d97bf1e58f6103c4408e4fbad4eeccf