Add Docker section to readme
This commit is contained in:
parent
7d9cf89b3d
commit
b62b9f0559
1 changed files with 15 additions and 0 deletions
15
README.md
15
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
|
- Fully supports encryption
|
||||||
- Support bot-bridges
|
- Support bot-bridges
|
||||||
- Async
|
- 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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue