Skip to content

Commit 8c7a5b3

Browse files
committed
Update README.md
1 parent 07225b6 commit 8c7a5b3

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,55 +21,55 @@ This image is for use in a private network behind a router. Make sure that the s
2121

2222
## Installation
2323

24-
A prepared image can be obtained from my Docker Hub: [https://hub.docker.com/r/rfuehrer/dynv6-updater](https://hub.docker.com/r/rfuehrer/dynv6-updater)
24+
A prepared image can be obtained from my [Docker Hub](https://hub.docker.com/r/sarasmiseth/dynv6-updater).
2525

2626
### Build
2727

2828
The image can be created with the following command:
2929

3030
```bash
31-
docker build --pull -t dynv6/dynv6-updater .
31+
docker build . -t dynv6-updater
3232
```
3333

34-
### Run
34+
## Run
3535

36-
After the image has been created, the container can be started with the following command. For the required environment variables, see boitte under `Configuration`.
36+
I recommend using `docker-compose`.
37+
See example [docker-compose.yml](https://github.com/SaraSmiseth/dynv6-updater/blob/dev/docker-compose.yml).
38+
Adjust the environment variables to match your use case and then just start the image with `docker compose up -d`.
3739

38-
```bash
39-
docker run -e DYNV6_TOKEN="<token>" -e DYNV6_ZONES="<zones>" -d dynv6/dyn6-updater
40-
```
41-
42-
## Configuration
43-
44-
To use this image, the following environment variables must be set:
45-
46-
```DYNV6_TOKEN=<token>```
47-
48-
Enter the token `<token>` for using the API here. You can find the token under `Account` -> `Keys` -> `HTTP Tokens` -> `Token` -> Button `Details`.
40+
### Docker tags
4941

50-
```DYNV6_ZONES=<zones>```
42+
<https://hub.docker.com/r/sarasmiseth/dynv6-updater/tags>
5143

52-
Enter the list of zones (`<zones>`) to be updated here. If several zones are to be updated, the list must be separated by commas. At least one fully qualified zone must be specified (Example: `myzone.dynv6.net` or `myzone1.dynv6.net,myzone2.dynv6.net`).
44+
| Tag | Description |
45+
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
46+
| edge | This tag points to the latest version build from the newest [commit](https://github.com/SaraSmiseth/dynv6-updater/commits/dev) in the dev branch. |
47+
| nightly | This tag points to the latest version build from the newest [commit](https://github.com/SaraSmiseth/dynv6-updater/commits/dev) in the dev branch. It gets rebuild every night. |
48+
| latest | This tag points to the latest version build from the latest commit that is tagged in git. See [releases](https://github.com/SaraSmiseth/dynv6-updater/releases). |
49+
| _vX.Y.Z_ | There is a tag for each [release](https://github.com/SaraSmiseth/dynv6-updater/releases). |
5350

54-
## Intended enhancements
51+
### Configuration
5552

56-
The following functions are conceivable for later versions, but were not implemented due to current requirements and the time available. If you are interested in a further development, please write an issue or make a pull request with the appropriate enhancement:
53+
To use this image, the following environment variables are available:
5754

58-
- Verbose mode
59-
- Reduction of the image
60-
- Renouncement of the Python:3 image
61-
- ...
55+
| Variable | Description | Type | Default value |
56+
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------- |
57+
| DYNV6_TOKEN | Enter the token for using the API here. You can find the token under `Account` -> `Keys` -> `HTTP Tokens` -> `Token` -> Button `Details`. | _required_ | |
58+
| DYNV6_ZONES | Enter the list of zones to be updated here. If several zones are to be updated, the list must be separated by commas. At least one fully qualified zone must be specified (Example: `myzone.dynv6.net` or `myzone1.dynv6.net,myzone2.dynv6.net`). | _required_ | |
59+
| DYNV6_NETWORK_DEVICE | Enter the name of your network interface. You can find it with `ip a`. | _required_ | |
60+
| DYNV6_IP_ADDRESS_FILTER | A string that is used with grep to filter the result of `ip -6 addr show "$DYNV6_NETWORK_DEVICE"`. | optional | |
61+
| DYNV6_USE_AUTO | Calls the api with parameters set to `auto`. | optional | false |
6262

6363
## Credits
6464

65-
Appreciation to
65+
Appreciation to
6666

6767
- [corny](https://gist.github.com/corny)
6868
- [pulsar256](https://gist.github.com/pulsar256)
6969
- [nephilim75](https://gist.github.com/nephilim75)
7070
- [R. Fuehrer](https://github.com/rfuehrer)
7171

72-
whose adaptations and inspirations are included in the image and script.
72+
whose adaptations and inspirations are included in the image and script.
7373

7474
In reference to gists:
7575

0 commit comments

Comments
 (0)