summaryrefslogtreecommitdiff
path: root/examples/docker-minimal-separate/frontend/catlfish.config
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-02-24 19:26:21 +0100
committerLinus Nordberg <linus@nordberg.se>2015-02-24 22:31:42 +0100
commit307071e1b0d536abbec277764b427d145d4f42b7 (patch)
treea23013c9ce6c21af2752118d46d0200c230a38bd /examples/docker-minimal-separate/frontend/catlfish.config
parent81a35a696d813ac5803afe602e549b56a9dfd9c4 (diff)
Add packaging and examples.
Diffstat (limited to 'examples/docker-minimal-separate/frontend/catlfish.config')
-rw-r--r--examples/docker-minimal-separate/frontend/catlfish.config38
1 files changed, 38 insertions, 0 deletions
diff --git a/examples/docker-minimal-separate/frontend/catlfish.config b/examples/docker-minimal-separate/frontend/catlfish.config
new file mode 100644
index 0000000..9f5e35d
--- /dev/null
+++ b/examples/docker-minimal-separate/frontend/catlfish.config
@@ -0,0 +1,38 @@
+%% 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"},
+ {rejected_certs_path, "rejected"},
+ {https_servers,
+ [{external_https_api, "0.0.0.0", 8080, v1},
+ {frontend_https_api, "0.0.0.0", 8082, frontend}
+ ]},
+ {https_certfile, "https/certs/ct.cert.pem"},
+ {https_keyfile, "https/keys/ct.key.pem"},
+ {https_cacertfile, "https/certs/cas.pem"}
+ ]},
+ {lager,
+ [{handlers,
+ [{lager_console_backend, info},
+ {lager_file_backend, [{file, "log/error.log"}, {level, error}]},
+ {lager_file_backend, [{file, "log/debug.log"}, {level, debug}]},
+ {lager_file_backend, [{file, "log/console.log"}, {level, info}]}
+ ]}
+ ]},
+ {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://MY-PUBLIC-ADDRESS:10081/ct/storage/"]},
+ {storage_nodes_quorum, 1}
+ ]}].