mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
@@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%%
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# Setup base
|
||||
RUN apk add --no-cache tzdata jq dnsmasq
|
||||
RUN apk add --no-cache jq dnsmasq
|
||||
|
||||
# Copy data
|
||||
COPY run.sh /
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Dnsmasq server",
|
||||
"version": "0.2",
|
||||
"version": "0.3",
|
||||
"slug": "dnsmasq",
|
||||
"description": "A simple dns server with benefits",
|
||||
"url": "https://home-assistant.io/addons/dnsmasq/",
|
||||
|
||||
@@ -4,3 +4,4 @@ keep-in-foreground
|
||||
log-queries
|
||||
log-facility=-
|
||||
no-poll
|
||||
user=root
|
||||
|
||||
@@ -4,7 +4,7 @@ FROM %%BASE_IMAGE%%
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
# Setup base
|
||||
RUN apk add --no-cache tzdata jq curl
|
||||
RUN apk add --no-cache jq curl
|
||||
|
||||
# Copy data
|
||||
COPY run.sh /
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Duck DNS",
|
||||
"version": "0.5",
|
||||
"version": "0.6",
|
||||
"slug": "duckdns",
|
||||
"description": "Free dynamic DNS hosted on Amazon VPC",
|
||||
"url": "https://home-assistant.io/addons/duckdns/",
|
||||
|
||||
@@ -9,7 +9,7 @@ WAIT_TIME=$(jq --raw-output '.seconds' $CONFIG_PATH)
|
||||
|
||||
# Run duckdns
|
||||
while true; do
|
||||
ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")"
|
||||
ANSWER="$(curl -sk "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&ip=&verbose=true")" || true
|
||||
echo "$(date): $ANSWER"
|
||||
sleep "$WAIT_TIME"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user