Fetch authentik default.yml; update app name
Download authentik's lib/default.yml for the specified AUTHENTIK_VERSION before running go mod/download and build (added curl to ct/authentik.sh and install/authentik-install.sh to write to /opt/authentik/authentik/lib/default.yml). Also normalize Bitfocus Companion app name to "Bitfocus-Companion" in ct/bitfocus-companion.sh.
This commit is contained in:
@@ -71,6 +71,8 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating go proxy"
|
msg_info "Updating go proxy"
|
||||||
cd /opt/authentik
|
cd /opt/authentik
|
||||||
|
$STD curl -fsSL "https://raw.githubusercontent.com/goauthentik/authentik/refs/tags/${AUTHENTIK_VERSION}/authentik/lib/default.yml" \
|
||||||
|
-o /opt/authentik/authentik/lib/default.yml
|
||||||
export CGO_ENABLED="1"
|
export CGO_ENABLED="1"
|
||||||
$STD go mod download
|
$STD go mod download
|
||||||
$STD go build -o /opt/authentik/authentik-server ./cmd/server
|
$STD go build -o /opt/authentik/authentik-server ./cmd/server
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV
|
|||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
||||||
# Source: https://github.com/bitfocus/companion
|
# Source: https://github.com/bitfocus/companion
|
||||||
|
|
||||||
APP="Bitfocus Companion"
|
APP="Bitfocus-Companion"
|
||||||
var_tags="${var_tags:-automation;media}"
|
var_tags="${var_tags:-automation;media}"
|
||||||
var_cpu="${var_cpu:-2}"
|
var_cpu="${var_cpu:-2}"
|
||||||
var_ram="${var_ram:-512}"
|
var_ram="${var_ram:-512}"
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ msg_ok "Web installed"
|
|||||||
|
|
||||||
msg_info "Setup go proxy"
|
msg_info "Setup go proxy"
|
||||||
cd /opt/authentik
|
cd /opt/authentik
|
||||||
|
$STD curl -fsSL "https://raw.githubusercontent.com/goauthentik/authentik/refs/tags/${AUTHENTIK_VERSION}/authentik/lib/default.yml" \
|
||||||
|
-o /opt/authentik/authentik/lib/default.yml
|
||||||
export CGO_ENABLED="1"
|
export CGO_ENABLED="1"
|
||||||
$STD go mod download
|
$STD go mod download
|
||||||
$STD go build -o /opt/authentik/authentik-server ./cmd/server
|
$STD go build -o /opt/authentik/authentik-server ./cmd/server
|
||||||
|
|||||||
Reference in New Issue
Block a user