summaryrefslogtreecommitdiff
path: root/catlfish.config
blob: 672f997e05c7981c17b8e0a28e3c591c09d94646 (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
27
%% 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,
  [{known_roots_path, "known_roots"},
   {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}
  ]}].