mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
update README file
This commit is contained in:
parent
9d1c325e2a
commit
52a1005791
10
README.md
10
README.md
@ -15,7 +15,7 @@
|
|||||||
[4]: https://microbadger.com/images/timothyye/godns
|
[4]: https://microbadger.com/images/timothyye/godns
|
||||||
[5]: https://img.shields.io/badge/downloads-1.95MB-brightgreen.svg
|
[5]: https://img.shields.io/badge/downloads-1.95MB-brightgreen.svg
|
||||||
[6]: https://github.com/TimothyYe/godns/releases
|
[6]: https://github.com/TimothyYe/godns/releases
|
||||||
[7]: https://img.shields.io/badge/release-v1.1-brightgreen.svg
|
[7]: https://img.shields.io/badge/release-v1.2-brightgreen.svg
|
||||||
[8]: https://github.com/TimothyYe/godns/releases
|
[8]: https://github.com/TimothyYe/godns/releases
|
||||||
[9]: https://img.shields.io/badge/license-Apache-blue.svg
|
[9]: https://img.shields.io/badge/license-Apache-blue.svg
|
||||||
[10]: LICENSE
|
[10]: LICENSE
|
||||||
@ -106,18 +106,14 @@ Now godns supports to run in docker.
|
|||||||
|
|
||||||
* Pull godns image from docker hub:
|
* Pull godns image from docker hub:
|
||||||
```bash
|
```bash
|
||||||
docker pull timothyye/godns:1.0
|
docker pull timothyye/godns:1.2
|
||||||
```
|
```
|
||||||
|
|
||||||
* Run godns in container and pass config parameters to it via enviroment variables:
|
* Run godns in container and pass config parameters to it via enviroment variables:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --name godns --restart=always \
|
docker run -d --name godns --restart=always \
|
||||||
-e EMAIL=your_dnspod_account \
|
-v /path/to/config.json:/usr/local/godns/config.json timothyye/godns:1.2
|
||||||
-e PASSWORD=your_dnspod_password \
|
|
||||||
-e DOMAINS="your_domain1,your_domain2" DOCKER_IMAGE_ID
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Enjoy it!
|
## Enjoy it!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user