-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathboss.config
More file actions
54 lines (47 loc) · 1.23 KB
/
boss.config
File metadata and controls
54 lines (47 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[{boss, [
{applications, [example_wiki]},
{db_host, "localhost"},
{db_port, 3306},
{db_adapter, mock},
{db_username, "root"},
{db_password, "password"},
{db_database, "example_wiki"},
{log_dir, "log"},
{server, mochiweb},
{port, 8001},
{session_adapter, mock},
{session_key, "_boss_session"},
{session_exp_time, 525600},
{path, "../ChicagoBoss"},
{vm_cookie, "my_secret_cookie"}, % Optional, defaults to abc123
{websocket, true}
]},
%% MESSAGE QUEUE
{ tinymq, [
%% max_age- Maximum age of messages in the [message queue], in
%% seconds. Defaults to 60.
% {max_age, 60}
]},
%%%%%%%%%%%%%
%% Logging %%
%%%%%%%%%%%%%
%% Lager default config.
%% More info: https://github.com/basho/lager
{lager, [
{handlers, [
{lager_console_backend, info},
{lager_file_backend, [
{"log/error.log", error, 10485760, "$D0", 5},
{"log/console.log", info, 10485760, "$D0", 5}
]}
]}
]},
%% APPLICATION CONFIGURATIONS
%% domains - A list of domains to serve the application on
%% static_prefix - The URL prefix of static assets
%% doc_prefix - The URL prefix for developer documentation
{ example_wiki, [
{base_url, "/"},
{path, "../example_wiki"}
]}
].