From a167503d7dd1ec07bb7774c9bde46b9ab57acad9 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Mon, 20 May 2024 21:17:18 +1000 Subject: [PATCH] Port Traefik to ARM64 Update netbird status as well --- README.md | 6 ++++-- ct/traefik.sh | 4 ++-- install/traefik-install.sh | 3 ++- misc/add-netbird-lxc.sh | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dfab12269..cea349ad5 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ If you would like to offer support, I would appreciate a star on the repository, | ESPHome | ☑️ | | | Fenrus | ☑️ | | | Fhem | ☑️ | | -| FlowiseAI | ❌ | NPM Error. [Use Docker image](https://docs.frigate.video/frigate/installation/). | +| FlowiseAI | ❌ | NPM Error. [Use Docker image](https://docs.flowiseai.com/getting-started). | | Frigate | ❌ | Compile Error. [Use Docker image](https://docs.frigate.video/frigate/installation/). | | Go2RTC | ☑️ | | | Gokapi | ☑️ | | @@ -133,7 +133,7 @@ If you would like to offer support, I would appreciate a star on the repository, | MQTT | ☑️ | | | n8n | ☑️ | | | Navidrome | ☑️ | | -| NextCloudPi | ☑️ | Took two attempts to work. | +| NextCloudPi | ☑️ | | | Nginx Proxy Manager | ☑️ | | | NocoDB | ☑️ | | | Node-Red | ☑️ | | @@ -182,6 +182,7 @@ If you would like to offer support, I would appreciate a star on the repository, | Tdarr | ☑️ | | | Technitium DNS | ☑️ | | | Traccar | ☑️ | | +| Traefik | ⭕ | | | Transmission | ☑️ | | | Trilium | ❌ | Built for x64 only. | | Umami | ☑️ | | @@ -208,4 +209,5 @@ If you would like to offer support, I would appreciate a star on the repository, | ----------- | ------ | -------------------- | | Code Server | ⭕ | | | Olivetin | ☑️ | | +| NetBird | ☑️ | No changes required. | | Tailscale | ✅ | No changes required. | diff --git a/ct/traefik.sh b/ct/traefik.sh index 8b393c1e3..59d31e645 100644 --- a/ct/traefik.sh +++ b/ct/traefik.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT @@ -57,7 +57,7 @@ header_info if [[ ! -f /etc/systemd/system/traefik.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi msg_info "Updating $APP LXC" if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then - wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_amd64.tar.gz + wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_arm64.tar.gz tar -C /tmp -xzf traefik*.tar.gz mv /tmp/traefik*/traefik /usr/bin/ rm -rf traefik*.tar.gz diff --git a/install/traefik-install.sh b/install/traefik-install.sh index b8346196a..00adf1ff7 100644 --- a/install/traefik-install.sh +++ b/install/traefik-install.sh @@ -19,12 +19,13 @@ $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y gpg $STD apt-get install -y apt-transport-https +$STD apt-get install -y wget msg_ok "Installed Dependencies" RELEASE=$(curl -s https://api.github.com/repos/traefik/traefik/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') msg_info "Installing Traefik v${RELEASE}" mkdir -p /etc/traefik/{conf.d,ssl} -wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_amd64.tar.gz +wget -q https://github.com/traefik/traefik/releases/download/v${RELEASE}/traefik_v${RELEASE}_linux_arm64.tar.gz tar -C /tmp -xzf traefik*.tar.gz mv /tmp/traefik /usr/bin/ rm -rf traefik*.tar.gz diff --git a/misc/add-netbird-lxc.sh b/misc/add-netbird-lxc.sh index 054271060..150cff386 100644 --- a/misc/add-netbird-lxc.sh +++ b/misc/add-netbird-lxc.sh @@ -60,7 +60,7 @@ EOF header_info msg "Installing NetBird..." pct exec "$CTID" -- bash -c ' -apt install -y ca-certificates gpg &>/dev/null +apt install -y ca-certificates gpg wget &>/dev/null wget -qO- https://pkgs.netbird.io/debian/public.key | gpg --dearmor >/usr/share/keyrings/netbird-archive-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/netbird-archive-keyring.gpg] https://pkgs.netbird.io/debian stable main" >/etc/apt/sources.list.d/netbird.list apt-get update &>/dev/null