summaryrefslogtreecommitdiff
path: root/catlfish.config
blob: 95d180929b9b45df8be2af0de20b0732c8c9c15e (plain)
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
%% catlfish configuration file (-*- erlang -*-)
%% Start like this:
%% $ erl -boot start_sasl -config catlfish -run inets
[{sasl,
  [{sasl_error_logger, false},
   {errlog_type, error},
   {error_logger_mf_dir, "log"},
   {error_logger_mf_maxbytes, 10485760},	% 10 MB
   {error_logger_mf_maxfiles, 10}]},
 {catlfish,
  [{https_servers,
    [{"127.0.0.1", 8080, v1}
    ]},
   {https_certfile, "catlfish/webroot/certs/webcert.pem"},
   {https_keyfile, "catlfish/webroot/keys/webkey.pem"},
   {https_cacertfile, "catlfish/webroot/certs/webcert.pem"}
  ]},
 {plop,
  [{entry_root_path, "db/certentries/"},
   {index_path, "db/index"},
   {entryhash_root_path, "db/entryhash/"},
   {treesize_path, "db/treesize"},
   {indexforhash_root_path, "db/certindex/"},
   %{storage_nodes, ["https://127.0.0.1:8081/ct/storage/"]},
   {storage_nodes_quorum, 1}
  ]}].