PageRenderTime 51ms CodeModel.GetById 30ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/rel/files/uce.cfg

http://github.com/AF83/ucengine
Config | 61 lines | 55 code | 6 blank | 0 comment | 0 complexity | 87228498d743761c0e9573786d6ed7dc MD5 | raw file
 1%% yaws ip
 2{bind_ip, {0,0,0,0}}.
 3%% yaws port
 4{port, 5280}.
 5%% log dir, used only for yaws
 6{log_dir, "log/"}.
 7%% values: debug, info, warning, error, critical
 8{log_level, info}.
 9%% pidfile
10{pidfile, "log/ucengine.pid"}.
11%% yaws cache
12{cache_refresh, 0}.
13%% Connection timeout for live api
14{connection_timeout, 60}.
15%% Session timeout
16{presence_timeout, 150}.
17{timeout_refresh, 1}.
18%% yaws root dir
19{wwwroot, "wwwroot/"}.
20%% admin setup
21{admin, [{uid, "root"}, {auth, "password"}, {credential, "root"}]}.
22%% Restricted access for creating users
23{register, open}.
24%% {register, restricted}.
25
26%%
27{bricks,
28 [{"twitter", "da39a3ee5e6b4b0d3255bfef95601890afd80709"},
29  {"document", "4efb7c6f7edf5c6392e1b107dde0621140fca97f"},
30  {"erlyvideo", "da93ae03c1280f82709f857ffa22f0a30c26fa9c"},
31  {"translation", "d713ab03c0280f82709f865ffa2240a38c26f09b"}]}.
32
33
34{hosts, [
35         {"localhost", [{data, "data/files"}]}
36]}.
37
38{roles,
39    [{"default", [{"add", "presence", []},
40                  {"delete", "presence", []},
41                  {"get",    "meeting",  []},
42                  {"list",   "meeting",  []},
43                  {"add",    "roster",   []},
44                  {"delete", "roster",   []},
45                  {"add",    "file",     []},
46                  {"list",    "file",     []},
47                  {"get",    "file",     []},
48                  {"all",    "event",    []},
49                  {"view",    "video",    []},
50                  {"check", "access",    []}]}]}.
51
52{db, mnesia}.
53%{db, mongodb}.
54{mongodb, [{size, 10},
55           {host, "127.0.0.1"},
56           {port, 27017},
57           {database, "ucengine"}]}.
58
59{search, erlang}.
60%{search, solr}.
61{solr, [{host, "http://localhost:8983/solr"}]}.