From b62b9f055904bedd8dd0fd5d5ff197a8bfe0d2c8 Mon Sep 17 00:00:00 2001 From: Vasiliy Petrov Date: Sun, 26 Jun 2022 18:24:19 +0700 Subject: [PATCH] Add Docker section to readme --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 9e07faf..1aeecd5 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,18 @@ DNS resolver in matrix. Just invite `@dnsbot:matrix.org` in your 1:1 or group ch - Fully supports encryption - Support bot-bridges - Async + +## Use with Docker + +Simple as + +```bash +docker run -d --name dnsbot --restart always \ + -v db:/db \ + -e HOMESERVER=https://matrix.org/ \ + -e USERNAME=dnsbot \ + -e PASSWORD=p4ssW0rD_ \ + --dns 1.1.1.1 \ + --cpus 0.5 -m 100m \ + cofob/dnsbot +```