Chronicle::Config
Strongly typed application runtime configuration
Constructors
new(environment : String = ENV.fetch("APP_ENV", "development"), host : String = ENV.fetch("APP_HOST", "127.0.0.1"), port : Int32 = (ENV.fetch("APP_PORT", "8080")).to_i, log_level : String = ENV.fetch("LOG_LEVEL", "INFO"), verbose : Bool = false, db_uri : String = "sqlite3://#{Storage::Database.default_db_path}", socket_path : String = Server::SocketServer.default_socket_path)
SourceInstance methods
db_uri
Sourceenvironment
Sourcehost
Sourcelog_level
Sourceport
Sourcesocket_path
Sourceverbose?
Source