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
6f94e96ab6
commit
d220aa4241
23
README.md
23
README.md
@ -54,4 +54,25 @@ nohup ./godns &
|
||||
sudo start godns
|
||||
```
|
||||
|
||||
## Enjoy it!
|
||||
## Run it as a daemon, manage it via Upstart
|
||||
|
||||
Now godns supports to run in docker.
|
||||
|
||||
* Pull godns image from docker hub:
|
||||
```bash
|
||||
docker pull timothyye/godns:1.0
|
||||
```
|
||||
|
||||
* Run it in container and pass config parameters to it via enviroment variables:
|
||||
|
||||
```bash
|
||||
docker run -d --name godns --restart=always \
|
||||
-e EMAIL=your_dnspod_account \
|
||||
-e PASSWORD=your_dnspod_password \
|
||||
-e DOMAIN=your_domain \
|
||||
-e SUB_DOMAIN=your_sub_domain DOCKER_IMAGE_ID
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Enjoy it!
|
Loading…
x
Reference in New Issue
Block a user