Port Traefik to ARM64

Update netbird status as well
This commit is contained in:
Sam Heinz
2024-05-20 21:17:18 +10:00
parent 198c7cfd5c
commit a167503d7d
4 changed files with 9 additions and 6 deletions
+4 -2
View File
@@ -93,7 +93,7 @@ If you would like to offer support, I would appreciate a star on the repository,
| ESPHome | ☑️ | | | ESPHome | ☑️ | |
| Fenrus | ☑️ | | | Fenrus | ☑️ | |
| Fhem | ☑️ | | | 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/). | | Frigate | ❌ | Compile Error. [Use Docker image](https://docs.frigate.video/frigate/installation/). |
| Go2RTC | ☑️ | | | Go2RTC | ☑️ | |
| Gokapi | ☑️ | | | Gokapi | ☑️ | |
@@ -133,7 +133,7 @@ If you would like to offer support, I would appreciate a star on the repository,
| MQTT | ☑️ | | | MQTT | ☑️ | |
| n8n | ☑️ | | | n8n | ☑️ | |
| Navidrome | ☑️ | | | Navidrome | ☑️ | |
| NextCloudPi | ☑️ | Took two attempts to work. | | NextCloudPi | ☑️ | |
| Nginx Proxy Manager | ☑️ | | | Nginx Proxy Manager | ☑️ | |
| NocoDB | ☑️ | | | NocoDB | ☑️ | |
| Node-Red | ☑️ | | | Node-Red | ☑️ | |
@@ -182,6 +182,7 @@ If you would like to offer support, I would appreciate a star on the repository,
| Tdarr | ☑️ | | | Tdarr | ☑️ | |
| Technitium DNS | ☑️ | | | Technitium DNS | ☑️ | |
| Traccar | ☑️ | | | Traccar | ☑️ | |
| Traefik | ⭕ | |
| Transmission | ☑️ | | | Transmission | ☑️ | |
| Trilium | ❌ | Built for x64 only. | | Trilium | ❌ | Built for x64 only. |
| Umami | ☑️ | | | Umami | ☑️ | |
@@ -208,4 +209,5 @@ If you would like to offer support, I would appreciate a star on the repository,
| ----------- | ------ | -------------------- | | ----------- | ------ | -------------------- |
| Code Server | ⭕ | | | Code Server | ⭕ | |
| Olivetin | ☑️ | | | Olivetin | ☑️ | |
| NetBird | ☑️ | No changes required. |
| Tailscale | ✅ | No changes required. | | Tailscale | ✅ | No changes required. |
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/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 # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT
@@ -57,7 +57,7 @@ header_info
if [[ ! -f /etc/systemd/system/traefik.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/systemd/system/traefik.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then 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 tar -C /tmp -xzf traefik*.tar.gz
mv /tmp/traefik*/traefik /usr/bin/ mv /tmp/traefik*/traefik /usr/bin/
rm -rf traefik*.tar.gz rm -rf traefik*.tar.gz
+2 -1
View File
@@ -19,12 +19,13 @@ $STD apt-get install -y sudo
$STD apt-get install -y mc $STD apt-get install -y mc
$STD apt-get install -y gpg $STD apt-get install -y gpg
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
$STD apt-get install -y wget
msg_ok "Installed Dependencies" 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) }') 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}" msg_info "Installing Traefik v${RELEASE}"
mkdir -p /etc/traefik/{conf.d,ssl} 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 tar -C /tmp -xzf traefik*.tar.gz
mv /tmp/traefik /usr/bin/ mv /tmp/traefik /usr/bin/
rm -rf traefik*.tar.gz rm -rf traefik*.tar.gz
+1 -1
View File
@@ -60,7 +60,7 @@ EOF
header_info header_info
msg "Installing NetBird..." msg "Installing NetBird..."
pct exec "$CTID" -- bash -c ' 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 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 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 apt-get update &>/dev/null