removed old files
This commit is contained in:
@ -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" ]
|
||||
@ -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
|
||||
@ -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
|
||||
@ -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
|
||||
@ -1 +0,0 @@
|
||||
ifconfig $INTERFACE down
|
||||
@ -1 +0,0 @@
|
||||
ifconfig $INTERFACE 10.0.0.1 netmask 255.255.255.0
|
||||
@ -1,3 +0,0 @@
|
||||
Name = {{NAME}}
|
||||
AdressFamily = ipv4
|
||||
Interface = tun0
|
||||
@ -12,6 +12,7 @@ RUN \
|
||||
alsa-plugins-pulse \
|
||||
bluez \
|
||||
git \
|
||||
tinc \
|
||||
libuv \
|
||||
mosquitto-clients \
|
||||
nano \
|
||||
|
||||
Reference in New Issue
Block a user