diff options
Diffstat (limited to 'examples/docker-minimal/docker/catlfish.config')
-rw-r--r-- | examples/docker-minimal/docker/catlfish.config | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/examples/docker-minimal/docker/catlfish.config b/examples/docker-minimal/docker/catlfish.config new file mode 100644 index 0000000..6b15d22 --- /dev/null +++ b/examples/docker-minimal/docker/catlfish.config @@ -0,0 +1,38 @@ +%% catlfish configuration file (-*- erlang -*-) +[{sasl, + [{sasl_error_logger, false}, + {errlog_type, error}, + {error_logger_mf_dir, "log"}, + {error_logger_mf_maxbytes, 1048576}, + {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}, + {storage_https_api, "0.0.0.0", 8081, storage}, + {frontend_https_api, "0.0.0.0", 8082, frontend} + ]}, + {https_certfile, "https/certs/webcert.pem"}, + {https_keyfile, "https/keys/webkey.pem"}, + {https_cacertfile, "https/certs/webcert.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"}, + {newentries_path, "db/newentries"}, + {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} + ]}]. |