If you only need some configuration options, you can include them as environment variables (in Erlang terms) in one of your Erlang applications. The way to do this is to include them in the .app file (or .app.src) of your application in the env tuple:
Sort of:
{application, ch_app, [{description, "Channel allocator"}, {vsn, "1"}, {modules, [ch_app, ch_sup, ch3]}, {registered, [ch3]}, {applications, [kernel, stdlib, sasl]}, {mod, {ch_app,[]}}, {env, [{file, "/usr/local/log"}]} ]}.
SOURCE: http://www.erlang.org/doc/design_principles/applications.html
As you can see, file is a configuration variable. You can access the variable with:
application:get_env(ch_app, file).
If you need something more complex, you may need to create a gen_server process that responds to all configuration requests (getter and setter methods).
source share