Skip to content

Commit

Permalink
Add remark about docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
David Prandzioch committed Jun 14, 2018
1 parent e924b73 commit d74c780
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[1.3.0]
* Add basic CI integration
* Add usage example for docker-compose

[1.2.1]
* Fix permissions of /var/cache/bind on container startup
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ docker run -it -d \
davd/docker-ddns:latest
```

If you want to persist DNS configuration across container recreation, add `-v /somefolder:/var/cache/bind`. If you are experiencing any issues updating DNS configuration using the API
(`NOTAUTH` and `SERVFAIL`), make sure to add writing permissions for root (UID=0) to your persistent storage (e.g. `chmod -R a+w /somefolder`).
If you want to persist DNS configuration across container recreation, add `-v /somefolder:/var/cache/bind`. If you are experiencing any
issues updating DNS configuration using the API (`NOTAUTH` and `SERVFAIL`), make sure to add writing permissions for root (UID=0) to your
persistent storage (e.g. `chmod -R a+w /somefolder`).

You can also use Compose / Swarm to set up this project. For more information and an example `docker-compose.yml` with persistent data
storage, please refer to this file: https://github.com/dprandzioch/docker-ddns/blob/master/docker-compose.yml

### Build from source / GitHub

Expand All @@ -38,7 +42,8 @@ $EDITOR envfile
make deploy
```

Make sure to change all environment variables in `envfile` to match your needs. Some more information can be found here: https://www.davd.eu/build-your-own-dynamic-dns-in-5-minutes/
Make sure to change all environment variables in `envfile` to match your needs. Some more information can be found here:
https://www.davd.eu/build-your-own-dynamic-dns-in-5-minutes/

## Exposed ports

Expand Down

0 comments on commit d74c780

Please sign in to comment.