[ {jchat, [ {http_port, 80}, {api_domain, "api.jchat.localhost"}, {web_domain, "web.jchat.localhost"}, {static_files_dir, "../client"}, {cors_origins, ["http://web.jchat.localhost", "https://web.jchat.localhost"]}, {jwt_secret, "your-secret-key-change-in-production"}, {database, [ {backend, mnesia}, {data_dir, "./data"} ]}, {auth, [ {bcrypt_rounds, 12}, {token_expiry_hours, 24}, {allow_registration, true} ]} ]}, {kernel, [ {logger_level, info}, {logger, [ {handler, default, logger_std_h, #{ config => #{file => "log/jchat.log"}, formatter => {logger_formatter, #{ single_line => true, template => [time," [",level,"] ",msg,"\n"] }} }} ]} ]}, {mnesia, [ {dir, "data"} ]} ].