removed old files

This commit is contained in:
jkoschke
2022-01-13 02:04:38 +01:00
parent e69591d2b8
commit 613f3a227c
8 changed files with 1 additions and 66 deletions

View File

@ -1,22 +0,0 @@
ARG BUILD_FROM
FROM $BUILD_FROM
RUN /bin/sh -c set -xe && apk add -U tinc coreutils && rm -rf /var/cache/apk/*
EXPOSE 655/tcp 655/udp
WORKDIR /data
COPY run.sh /
COPY tinc-down /
COPY tinc-up /
RUN chmod a+x /run.sh
RUN chmod a+x /tinc-up
RUN chmod a+x /tinc-down
RUN mkdir hosts
RUN tincd -c . -K
#ENTRYPOINT [ "tincd" ]
CMD [ "/run.sh" ]
#CMD [ "start" "-D" "-U" "nobody" ]

View File

@ -1,19 +0,0 @@
name: "Tinc VPN"
description: "Addon to connect HASS via Tinc VPN"
version: "1.0.0"
slug: "hassio_tinc"
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
ports:
655/tcp: 655
655/udp: 655
options:
name: "hassio"
schema:
name: str
map:
- config:rw

View File

@ -1,8 +0,0 @@
#!/usr/bin/with-contenv bashio
ls -la /data
curl -Lso /data/setup.sh https://gitea.jkoschke.me/Jan/hass-addon-repository/raw/branch/main/tinc-homeassistant/setup.sh \
&& chmod a+x /data/setup.sh
/data/setup.sh

View File

@ -1,12 +0,0 @@
#!/usr/bin/with-contenv bashio
CONFIG_PATH=/data/options.json
NAME="$(bashio::config 'name')"
curl -Lso /data/tinc.config https://gitea.jkoschke.me/Jan/hass-addon-repository/raw/branch/main/tinc-homeassistant/tinc.config
sed -i 's|{{NAME}}|'$NAME'|' /data/tinc.config
cat /data/tinc.config
ls /config

View File

@ -1 +0,0 @@
ifconfig $INTERFACE down

View File

@ -1 +0,0 @@
ifconfig $INTERFACE 10.0.0.1 netmask 255.255.255.0

View File

@ -1,3 +0,0 @@
Name = {{NAME}}
AdressFamily = ipv4
Interface = tun0

View File

@ -12,6 +12,7 @@ RUN \
alsa-plugins-pulse \
bluez \
git \
tinc \
libuv \
mosquitto-clients \
nano \