From 59097dc386bc77482b3746cd45080d098b2cc239 Mon Sep 17 00:00:00 2001 From: Issif Date: Fri, 17 Apr 2020 09:22:42 +0200 Subject: [PATCH] update readme --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 549805d..857fcb9 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,14 @@ Flags: -c, --configfile=CONFIGFILE config file ``` +## Docker + +You can run with Docker : + +``` +docker run -d -e SLACKWEBHOOKURL=https://hooks.slack.com/services/XXXXX -e REGEXP=".*fr$" issif/cercat:latest +``` + ## Logs ```bash @@ -57,6 +65,10 @@ Flags: 2020/04/14 17:29:41 [INFO] : A certificate for 'XXXX.fr' has been issued : {"domain":"XXXX.fr","SAN":["mail.XXXX.fr","XXXX.fr","www.XXXX.fr"],"issuer":"Let's Encrypt","Addresses":["XX.XX.XX.108"]} ``` +## Profiles, Traces and Metrics + +The service opens port `6060` for `profiles`, `traces` and `expvar`. Go to [http://localhost:6060/debug/pprof](http://localhost:6060/debug/pprof) and [http://localhost:6060/debug/vars](http://localhost:6060/debug/vars). + ## License MIT