PageRenderTime 48ms CodeModel.GetById 26ms RepoModel.GetById 0ms 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. {bricks,
  27. [{"twitter", "da39a3ee5e6b4b0d3255bfef95601890afd80709"},
  28. {"document", "4efb7c6f7edf5c6392e1b107dde0621140fca97f"},
  29. {"erlyvideo", "da93ae03c1280f82709f857ffa22f0a30c26fa9c"},
  30. {"translation", "d713ab03c0280f82709f865ffa2240a38c26f09b"}]}.
  31. {hosts, [
  32. {"localhost", [{data, "data/files"}]}
  33. ]}.
  34. {roles,
  35. [{"default", [{"add", "presence", []},
  36. {"delete", "presence", []},
  37. {"get", "meeting", []},
  38. {"list", "meeting", []},
  39. {"add", "roster", []},
  40. {"delete", "roster", []},
  41. {"add", "file", []},
  42. {"list", "file", []},
  43. {"get", "file", []},
  44. {"all", "event", []},
  45. {"view", "video", []},
  46. {"check", "access", []}]}]}.
  47. {db, mnesia}.
  48. %{db, mongodb}.
  49. {mongodb, [{size, 10},
  50. {host, "127.0.0.1"},
  51. {port, 27017},
  52. {database, "ucengine"}]}.
  53. {search, erlang}.
  54. %{search, solr}.
  55. {solr, [{host, "http://localhost:8983/solr"}]}.