1
0
mirror of https://github.com/EV21/dynb.git synced 2026-06-24 16:41:02 +02:00

2 Commits

Author SHA1 Message Date
EV21 64a5a76b6d minor: 📝 update CHANGELOG 2022-05-26 16:15:12 +02:00
EV21 05120c25e4 feat: add tzdata to Dockerfile for timezone config
You can now set your timezone with the environment variable
`TZ="Europe/Berlin"`
2022-05-26 16:10:47 +02:00
4 changed files with 26 additions and 6 deletions
+20
View File
@@ -1,6 +1,26 @@
# Changelog
## 0.3.2 (2022-05-26)
### Features
* ✨ add tzdata to Dockerfile for timezone config. [Eduard Veit]
You can now set your timezone with the environment variable
`TZ="Europe/Berlin"`
## 0.3.1 (2022-05-26)
### Fix
* 🐛 curl/libcurl doesn't support dns-server option. [Eduard Veit]
the latest alpine we are using for the docker image
does also drops the support for that option like debian/ubuntu/etc
## 0.3.0 (2022-05-26)
### Features
+2 -1
View File
@@ -7,7 +7,8 @@ apk add \
bash \
curl \
jq \
bind-tools
bind-tools \
tzdata
WORKDIR /usr/src/app
+2 -4
View File
@@ -155,17 +155,15 @@ services:
image: ev21/dynb
container_name: dynb
network_mode: host
build:
context: .
dockerfile: ./Dockerfile
environment:
- DYNB_DYN_DOMAIN=dyndns.example.com
- DYNB_SERVICE_PROVIDER=inwx
- DYNB_SERVICE_PROVIDER=desec
- DYNB_UPDATE_METHOD=dyndns
- DYNB_IP_MODE=64
- DYNB_USERNAME=User42
- DYNB_PASSWORD=SuperSecretPassword
- DYNB_INTERVAL=60
- TZ=Europe/Berlin
```
## environment variables
+2 -1
View File
@@ -66,7 +66,7 @@ _response=
_statusHostname=
_statusUsername=
_statusPassword=
_version=0.3.1
_version=0.3.2
_userAgent="DynB/$_version github.com/EV21/dynb"
_configFile=$HOME/.local/share/dynb/.env
_statusFile=/tmp/dynb.status
@@ -812,6 +812,7 @@ function main
while :
do
doUpdates
debugMessage "wait $DYNB_INTERVAL seconds until next check"
sleep $DYNB_INTERVAL
done
else doUpdates