module

Yozgat::Config

Runtime configuration, env-driven with sensible dev defaults.

Class methods

base_dir
Source
data_dir
Source
db_path
Source
ensure_public_ip!

Detects and caches public IP when YOZGAT_PUBLIC_IP is unset.

Source
jwt_secret
Source
openapi_servers
Source
port
Source
production?
Source
public_dir
Source
public_ip
Source
resolve_base_dir(data_dir : String) : String

Default base dir: parent of data/ when data_dir ends with "data".

Source
server_ip

Host used in OpenAPI server URLs and external links.

Source