mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-07 20:02:49 +00:00
Compare commits
3 Commits
update_ver
...
CrazyWolf1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64b77b56d1 | ||
|
|
20ca445c9c | ||
|
|
9467ed37a7 |
13
CHANGELOG.md
13
CHANGELOG.md
@@ -12,19 +12,6 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
## 2025-11-07
|
## 2025-11-07
|
||||||
|
|
||||||
### 🆕 New Scripts
|
|
||||||
|
|
||||||
- infisical ([#8926](https://github.com/community-scripts/ProxmoxVE/pull/8926))
|
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
|
||||||
|
|
||||||
- Update script URLs to ProxmoxVE repository [@MickLesk](https://github.com/MickLesk) ([#8946](https://github.com/community-scripts/ProxmoxVE/pull/8946))
|
|
||||||
- tools.func: fix amd64 arm64 mismatch [@MickLesk](https://github.com/MickLesk) ([#8943](https://github.com/community-scripts/ProxmoxVE/pull/8943))
|
|
||||||
- ghostfolio: refactor CoinGecko key prompts in installer [@MickLesk](https://github.com/MickLesk) ([#8935](https://github.com/community-scripts/ProxmoxVE/pull/8935))
|
|
||||||
- flaresolverr: pin release to 3.4.3 [@CrazyWolf13](https://github.com/CrazyWolf13) ([#8937](https://github.com/community-scripts/ProxmoxVE/pull/8937))
|
|
||||||
|
|
||||||
## 2025-11-06
|
## 2025-11-06
|
||||||
|
|
||||||
### 🚀 Updated Scripts
|
### 🚀 Updated Scripts
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
____ _____ _ __
|
|
||||||
/ _/___ / __(_)____(_)________ _/ /
|
|
||||||
/ // __ \/ /_/ / ___/ / ___/ __ `/ /
|
|
||||||
_/ // / / / __/ (__ ) / /__/ /_/ / /
|
|
||||||
/___/_/ /_/_/ /_/____/_/\___/\__,_/_/
|
|
||||||
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: Slaviša Arežina (tremor021)
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://infisical.com/
|
|
||||||
|
|
||||||
APP="Infisical"
|
|
||||||
var_tags="${var_tags:-auth}"
|
|
||||||
var_cpu="${var_cpu:-2}"
|
|
||||||
var_ram="${var_ram:-2048}"
|
|
||||||
var_disk="${var_disk:-6}"
|
|
||||||
var_os="${var_os:-debian}"
|
|
||||||
var_version="${var_version:-13}"
|
|
||||||
var_unprivileged="${var_unprivileged:-1}"
|
|
||||||
|
|
||||||
header_info "$APP"
|
|
||||||
variables
|
|
||||||
color
|
|
||||||
catch_errors
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
header_info
|
|
||||||
check_container_storage
|
|
||||||
check_container_resources
|
|
||||||
if [[ ! -d /etc/infisical ]]; then
|
|
||||||
msg_error "No ${APP} Installation Found!"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
msg_info "Stopping service"
|
|
||||||
$STD infisical-ctl stop
|
|
||||||
msg_ok "Service stopped"
|
|
||||||
|
|
||||||
msg_info "Creating backup"
|
|
||||||
DB_PASS=$(grep -Po '(?<=^Database Password:\s).*' ~/infisical.creds | head -n1)
|
|
||||||
PGPASSWORD=$DB_PASS pg_dump -U infisical -h localhost -d infisical_db > /opt/infisical_backup.sql
|
|
||||||
msg_ok "Created backup"
|
|
||||||
|
|
||||||
msg_info "Updating Infisical"
|
|
||||||
$STD apt update
|
|
||||||
$STD apt install -y infisical-core
|
|
||||||
$STD infisical-ctl reconfigure
|
|
||||||
msg_ok "Updated Infisical"
|
|
||||||
|
|
||||||
msg_info "Starting service"
|
|
||||||
infisical-ctl start
|
|
||||||
msg_ok "Started service"
|
|
||||||
msg_ok "Updated successfully"
|
|
||||||
exit
|
|
||||||
}
|
|
||||||
|
|
||||||
start
|
|
||||||
build_container
|
|
||||||
description
|
|
||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}"
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/refs/heads/main/misc/build.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/refs/heads/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: dkuku
|
# Author: dkuku
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Infisical",
|
|
||||||
"slug": "infisical",
|
|
||||||
"categories": [
|
|
||||||
6
|
|
||||||
],
|
|
||||||
"date_created": "2025-11-07",
|
|
||||||
"type": "ct",
|
|
||||||
"updateable": true,
|
|
||||||
"privileged": false,
|
|
||||||
"interface_port": 8080,
|
|
||||||
"documentation": "https://infisical.com/docs/documentation/getting-started/overview",
|
|
||||||
"config_path": "/etc/infisical/infisical.rb",
|
|
||||||
"website": "https://infisical.com/",
|
|
||||||
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/infisical.webp",
|
|
||||||
"description": "Secrets, certificates, and access management on autopilot. All-in-one platform to securely manage application secrets, certificates, SSH keys, and configurations across your team and infrastructure.",
|
|
||||||
"install_methods": [
|
|
||||||
{
|
|
||||||
"type": "default",
|
|
||||||
"script": "ct/infisical.sh",
|
|
||||||
"resources": {
|
|
||||||
"cpu": 2,
|
|
||||||
"ram": 2048,
|
|
||||||
"hdd": 6,
|
|
||||||
"os": "Debian",
|
|
||||||
"version": "13"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default_credentials": {
|
|
||||||
"username": null,
|
|
||||||
"password": null
|
|
||||||
},
|
|
||||||
"notes": []
|
|
||||||
}
|
|
||||||
@@ -1,74 +1,4 @@
|
|||||||
[
|
[
|
||||||
{
|
|
||||||
"name": "fuma-nama/fumadocs",
|
|
||||||
"version": "fumadocs-core@16.0.8",
|
|
||||||
"date": "2025-11-07T11:23:47Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "element-hq/synapse",
|
|
||||||
"version": "v1.142.0rc4",
|
|
||||||
"date": "2025-11-07T11:19:40Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Paymenter/Paymenter",
|
|
||||||
"version": "v1.4.3",
|
|
||||||
"date": "2025-11-07T11:07:17Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cloudflare/cloudflared",
|
|
||||||
"version": "2025.11.0",
|
|
||||||
"date": "2025-11-07T10:19:35Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "openobserve/openobserve",
|
|
||||||
"version": "v0.16.0",
|
|
||||||
"date": "2025-11-07T09:42:01Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wazuh/wazuh",
|
|
||||||
"version": "coverity-w45-4.14.1",
|
|
||||||
"date": "2025-11-05T16:56:57Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "keycloak/keycloak",
|
|
||||||
"version": "26.4.4",
|
|
||||||
"date": "2025-11-07T08:55:27Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "mattermost/mattermost",
|
|
||||||
"version": "v10.11.6",
|
|
||||||
"date": "2025-11-04T09:43:16Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "umami-software/umami",
|
|
||||||
"version": "v3.0.0",
|
|
||||||
"date": "2025-11-07T06:13:49Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jackett/Jackett",
|
|
||||||
"version": "v0.24.255",
|
|
||||||
"date": "2025-11-07T05:55:20Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "documenso/documenso",
|
|
||||||
"version": "v2.0.0",
|
|
||||||
"date": "2025-11-07T04:44:34Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "OliveTin/OliveTin",
|
|
||||||
"version": "3000.3.2",
|
|
||||||
"date": "2025-11-07T01:05:59Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "jeedom/core",
|
|
||||||
"version": "4.4.20",
|
|
||||||
"date": "2025-11-07T00:27:13Z"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "steveiliop56/tinyauth",
|
|
||||||
"version": "v4.0.1",
|
|
||||||
"date": "2025-10-15T16:53:55Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "FlowiseAI/Flowise",
|
"name": "FlowiseAI/Flowise",
|
||||||
"version": "flowise@3.0.10",
|
"version": "flowise@3.0.10",
|
||||||
@@ -139,6 +69,16 @@
|
|||||||
"version": "v2.17.0-beta20",
|
"version": "v2.17.0-beta20",
|
||||||
"date": "2025-11-06T10:49:56Z"
|
"date": "2025-11-06T10:49:56Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "keycloak/keycloak",
|
||||||
|
"version": "26.4.3",
|
||||||
|
"date": "2025-11-06T09:56:20Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "OliveTin/OliveTin",
|
||||||
|
"version": "2025.11.06",
|
||||||
|
"date": "2025-11-06T08:45:02Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "SigNoz/signoz",
|
"name": "SigNoz/signoz",
|
||||||
"version": "v0.100.1",
|
"version": "v0.100.1",
|
||||||
@@ -149,6 +89,11 @@
|
|||||||
"version": "9.0.112",
|
"version": "9.0.112",
|
||||||
"date": "2025-11-06T07:49:59Z"
|
"date": "2025-11-06T07:49:59Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Jackett/Jackett",
|
||||||
|
"version": "v0.24.252",
|
||||||
|
"date": "2025-11-06T05:55:30Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Kozea/Radicale",
|
"name": "Kozea/Radicale",
|
||||||
"version": "v3.5.8",
|
"version": "v3.5.8",
|
||||||
@@ -169,6 +114,16 @@
|
|||||||
"version": "v0.9.1",
|
"version": "v0.9.1",
|
||||||
"date": "2025-11-06T02:26:53Z"
|
"date": "2025-11-06T02:26:53Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "jeedom/core",
|
||||||
|
"version": "4.4.20",
|
||||||
|
"date": "2025-11-06T00:27:04Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "steveiliop56/tinyauth",
|
||||||
|
"version": "v4.0.1",
|
||||||
|
"date": "2025-10-15T16:53:55Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ollama/ollama",
|
"name": "ollama/ollama",
|
||||||
"version": "v0.12.10",
|
"version": "v0.12.10",
|
||||||
@@ -204,6 +159,16 @@
|
|||||||
"version": "v1.6.5",
|
"version": "v1.6.5",
|
||||||
"date": "2025-10-06T15:25:17Z"
|
"date": "2025-10-06T15:25:17Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "wazuh/wazuh",
|
||||||
|
"version": "coverity-w45-4.14.1",
|
||||||
|
"date": "2025-11-05T16:56:57Z"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "mattermost/mattermost",
|
||||||
|
"version": "v10.11.6",
|
||||||
|
"date": "2025-11-04T09:43:16Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "javedh-dev/tracktor",
|
"name": "javedh-dev/tracktor",
|
||||||
"version": "0.5.1",
|
"version": "0.5.1",
|
||||||
@@ -304,6 +269,11 @@
|
|||||||
"version": "nightly",
|
"version": "nightly",
|
||||||
"date": "2025-11-04T19:16:17Z"
|
"date": "2025-11-04T19:16:17Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "element-hq/synapse",
|
||||||
|
"version": "v1.142.0rc2",
|
||||||
|
"date": "2025-11-04T16:22:11Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "jhuckaby/Cronicle",
|
"name": "jhuckaby/Cronicle",
|
||||||
"version": "v0.9.100",
|
"version": "v0.9.100",
|
||||||
@@ -389,6 +359,11 @@
|
|||||||
"version": "0.50.39",
|
"version": "0.50.39",
|
||||||
"date": "2025-11-03T17:58:41Z"
|
"date": "2025-11-03T17:58:41Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "cloudflare/cloudflared",
|
||||||
|
"version": "2025.10.1-3-g52809511",
|
||||||
|
"date": "2025-11-03T17:13:35Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "goauthentik/authentik",
|
"name": "goauthentik/authentik",
|
||||||
"version": "version/2025.10.1",
|
"version": "version/2025.10.1",
|
||||||
@@ -404,11 +379,21 @@
|
|||||||
"version": "debian/12.1.34",
|
"version": "debian/12.1.34",
|
||||||
"date": "2025-11-03T16:42:07Z"
|
"date": "2025-11-03T16:42:07Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Paymenter/Paymenter",
|
||||||
|
"version": "v1.4.2",
|
||||||
|
"date": "2025-11-03T11:52:53Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "silverbulletmd/silverbullet",
|
"name": "silverbulletmd/silverbullet",
|
||||||
"version": "2.2.1",
|
"version": "2.2.1",
|
||||||
"date": "2025-11-03T06:57:15Z"
|
"date": "2025-11-03T06:57:15Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "fuma-nama/fumadocs",
|
||||||
|
"version": "fumadocs-mdx@13.0.5",
|
||||||
|
"date": "2025-11-03T06:55:11Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "jellyfin/jellyfin",
|
"name": "jellyfin/jellyfin",
|
||||||
"version": "v10.11.2",
|
"version": "v10.11.2",
|
||||||
@@ -544,6 +529,11 @@
|
|||||||
"version": "v1.5.3",
|
"version": "v1.5.3",
|
||||||
"date": "2025-09-20T12:12:33Z"
|
"date": "2025-09-20T12:12:33Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "documenso/documenso",
|
||||||
|
"version": "v1.13.2",
|
||||||
|
"date": "2025-10-30T04:12:40Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ipfs/kubo",
|
"name": "ipfs/kubo",
|
||||||
"version": "v0.38.2",
|
"version": "v0.38.2",
|
||||||
@@ -584,6 +574,11 @@
|
|||||||
"version": "cassandra-5.0.6",
|
"version": "cassandra-5.0.6",
|
||||||
"date": "2025-10-29T07:40:47Z"
|
"date": "2025-10-29T07:40:47Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "openobserve/openobserve",
|
||||||
|
"version": "v0.15.3",
|
||||||
|
"date": "2025-10-29T05:15:45Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "outline/outline",
|
"name": "outline/outline",
|
||||||
"version": "v1.0.1",
|
"version": "v1.0.1",
|
||||||
@@ -1249,6 +1244,11 @@
|
|||||||
"version": "v0.58.0",
|
"version": "v0.58.0",
|
||||||
"date": "2025-07-28T18:59:50Z"
|
"date": "2025-07-28T18:59:50Z"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "umami-software/umami",
|
||||||
|
"version": "v2.19.0",
|
||||||
|
"date": "2025-07-27T22:25:00Z"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "PCJones/UmlautAdaptarr",
|
"name": "PCJones/UmlautAdaptarr",
|
||||||
"version": "v0.7.3",
|
"version": "v0.7.3",
|
||||||
|
|||||||
@@ -60,10 +60,11 @@ $STD npm ci
|
|||||||
$STD npm run build:production
|
$STD npm run build:production
|
||||||
msg_ok "Built Ghostfolio"
|
msg_ok "Built Ghostfolio"
|
||||||
|
|
||||||
echo -e ""
|
msg_ok "Optional CoinGecko API Configuration"
|
||||||
msg_custom "🪙" "$YW" "CoinGecko API keys are optional but provide better cryptocurrency data."
|
echo
|
||||||
msg_custom "🪙" "$YW" "You can skip this and add them later by editing /opt/ghostfolio/.env"
|
echo -e "${YW}CoinGecko API keys are optional but provide better cryptocurrency data.${CL}"
|
||||||
echo -e ""
|
echo -e "${YW}You can skip this and add them later by editing /opt/ghostfolio/.env${CL}"
|
||||||
|
echo
|
||||||
read -rp "${TAB3}CoinGecko Demo API key (press Enter to skip): " COINGECKO_DEMO_KEY
|
read -rp "${TAB3}CoinGecko Demo API key (press Enter to skip): " COINGECKO_DEMO_KEY
|
||||||
read -rp "${TAB3}CoinGecko Pro API key (press Enter to skip): " COINGECKO_PRO_KEY
|
read -rp "${TAB3}CoinGecko Pro API key (press Enter to skip): " COINGECKO_PRO_KEY
|
||||||
|
|
||||||
|
|||||||
@@ -1,68 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: Slaviša Arežina (tremor021)
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://infisical.com/
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
|
||||||
$STD apt install -y \
|
|
||||||
apt-transport-https \
|
|
||||||
ca-certificates \
|
|
||||||
redis
|
|
||||||
msg_ok "Installed Dependencies"
|
|
||||||
|
|
||||||
PG_VERSION="17" setup_postgresql
|
|
||||||
|
|
||||||
msg_info "Setting up Infisical Repository"
|
|
||||||
setup_deb822_repo \
|
|
||||||
"infisical" \
|
|
||||||
"https://artifacts-infisical-core.infisical.com/infisical.gpg" \
|
|
||||||
"https://artifacts-infisical-core.infisical.com/deb" \
|
|
||||||
"stable"
|
|
||||||
msg_ok "Setup Infisical repository"
|
|
||||||
|
|
||||||
msg_info "Configuring PostgreSQL"
|
|
||||||
DB_NAME="infisical_db"
|
|
||||||
DB_USER="infisical"
|
|
||||||
DB_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
|
|
||||||
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
|
|
||||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
|
|
||||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
|
|
||||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';"
|
|
||||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC';"
|
|
||||||
{
|
|
||||||
echo "Infiscal Credentials"
|
|
||||||
echo "Database Name: $DB_NAME"
|
|
||||||
echo "Database User: $DB_USER"
|
|
||||||
echo "Database Password: $DB_PASS"
|
|
||||||
} >>~/infisical.creds
|
|
||||||
msg_ok "Configured PostgreSQL"
|
|
||||||
|
|
||||||
msg_info "Setting up Infisical"
|
|
||||||
AUTH_SECRET="$(openssl rand -base64 32 | tr -d '\n')"
|
|
||||||
ENC_KEY="$(openssl rand -hex 16 | tr -d '\n')"
|
|
||||||
IP_ADDR=$(hostname -I | awk '{print $1}')
|
|
||||||
$STD apt install -y infisical-core
|
|
||||||
mkdir -p /etc/infisical
|
|
||||||
cat <<EOF >/etc/infisical/infisical.rb
|
|
||||||
infisical_core['ENCRYPTION_KEY'] = '$ENC_KEY'
|
|
||||||
infisical_core['AUTH_SECRET'] = '$AUTH_SECRET'
|
|
||||||
infisical_core['HOST'] = '$IP_ADDR'
|
|
||||||
infisical_core['DB_CONNECTION_URI'] = 'postgres://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}'
|
|
||||||
infisical_core['REDIS_URL'] = 'redis://localhost:6379'
|
|
||||||
EOF
|
|
||||||
$STD infisical-ctl reconfigure
|
|
||||||
msg_ok "Setup Infisical"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
cleanup_lxc
|
|
||||||
@@ -427,12 +427,7 @@ manage_tool_repository() {
|
|||||||
suite=$(get_fallback_suite "$distro_id" "$distro_codename" "$repo_url/$distro_id")
|
suite=$(get_fallback_suite "$distro_id" "$distro_codename" "$repo_url/$distro_id")
|
||||||
|
|
||||||
# Setup new repository using deb822 format
|
# Setup new repository using deb822 format
|
||||||
setup_deb822_repo \
|
setup_deb822_repo "mariadb" "$gpg_key_url" "$repo_url/$distro_id" "$suite" "main" "amd64 arm64" || return 1
|
||||||
"mariadb" \
|
|
||||||
"$gpg_key_url" \
|
|
||||||
"$repo_url/$distro_id" \
|
|
||||||
"$suite" \
|
|
||||||
"main"
|
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -509,7 +504,7 @@ Types: deb
|
|||||||
URIs: ${repo_url}
|
URIs: ${repo_url}
|
||||||
Suites: ${suite}/mongodb-org/${version}
|
Suites: ${suite}/mongodb-org/${version}
|
||||||
Components: ${repo_component}
|
Components: ${repo_component}
|
||||||
Architectures: $(dpkg --print-architecture)
|
Architectures: amd64 arm64
|
||||||
Signed-By: /etc/apt/keyrings/mongodb-server-${version}.gpg
|
Signed-By: /etc/apt/keyrings/mongodb-server-${version}.gpg
|
||||||
EOF
|
EOF
|
||||||
return 0
|
return 0
|
||||||
@@ -541,7 +536,7 @@ Types: deb
|
|||||||
URIs: $repo_url
|
URIs: $repo_url
|
||||||
Suites: nodistro
|
Suites: nodistro
|
||||||
Components: main
|
Components: main
|
||||||
Architectures: $(dpkg --print-architecture)
|
Architectures: amd64 arm64
|
||||||
Signed-By: /etc/apt/keyrings/nodesource.gpg
|
Signed-By: /etc/apt/keyrings/nodesource.gpg
|
||||||
EOF
|
EOF
|
||||||
return 0
|
return 0
|
||||||
@@ -575,7 +570,7 @@ Types: deb
|
|||||||
URIs: https://packages.sury.org/php
|
URIs: https://packages.sury.org/php
|
||||||
Suites: $distro_codename
|
Suites: $distro_codename
|
||||||
Components: main
|
Components: main
|
||||||
Architectures: $(dpkg --print-architecture)
|
Architectures: amd64 arm64
|
||||||
Signed-By: /usr/share/keyrings/deb.sury.org-php.gpg
|
Signed-By: /usr/share/keyrings/deb.sury.org-php.gpg
|
||||||
EOF
|
EOF
|
||||||
return 0
|
return 0
|
||||||
@@ -606,7 +601,7 @@ Types: deb
|
|||||||
URIs: http://apt.postgresql.org/pub/repos/apt
|
URIs: http://apt.postgresql.org/pub/repos/apt
|
||||||
Suites: $distro_codename-pgdg
|
Suites: $distro_codename-pgdg
|
||||||
Components: main
|
Components: main
|
||||||
Architectures: $(dpkg --print-architecture)
|
Architectures: amd64 arm64
|
||||||
Signed-By: /etc/apt/keyrings/postgresql.gpg
|
Signed-By: /etc/apt/keyrings/postgresql.gpg
|
||||||
EOF
|
EOF
|
||||||
return 0
|
return 0
|
||||||
@@ -1207,7 +1202,7 @@ setup_deb822_repo() {
|
|||||||
local repo_url="$3"
|
local repo_url="$3"
|
||||||
local suite="$4"
|
local suite="$4"
|
||||||
local component="${5:-main}"
|
local component="${5:-main}"
|
||||||
local architectures="${6:-$(dpkg --print-architecture)}"
|
local architectures="${6:-amd64 arm64}"
|
||||||
|
|
||||||
# Validate required parameters
|
# Validate required parameters
|
||||||
if [[ -z "$name" || -z "$gpg_url" || -z "$repo_url" || -z "$suite" ]]; then
|
if [[ -z "$name" || -z "$gpg_url" || -z "$repo_url" || -z "$suite" ]]; then
|
||||||
@@ -2785,7 +2780,8 @@ function setup_java() {
|
|||||||
"https://packages.adoptium.net/artifactory/api/gpg/key/public" \
|
"https://packages.adoptium.net/artifactory/api/gpg/key/public" \
|
||||||
"https://packages.adoptium.net/artifactory/deb" \
|
"https://packages.adoptium.net/artifactory/deb" \
|
||||||
"$SUITE" \
|
"$SUITE" \
|
||||||
"main"
|
"main" \
|
||||||
|
"amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get currently installed version
|
# Get currently installed version
|
||||||
@@ -3237,12 +3233,12 @@ function setup_mysql() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat >/etc/apt/sources.list.d/mysql.sources <<EOF
|
cat >/etc/apt/sources.list.d/mysql.sources <<'EOF'
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: https://repo.mysql.com/apt/debian/
|
URIs: https://repo.mysql.com/apt/debian/
|
||||||
Suites: bookworm
|
Suites: bookworm
|
||||||
Components: mysql-8.4-lts
|
Components: mysql-8.4-lts
|
||||||
Architectures: $(dpkg --print-architecture)
|
Architectures: amd64 arm64
|
||||||
Signed-By: /etc/apt/keyrings/mysql.gpg
|
Signed-By: /etc/apt/keyrings/mysql.gpg
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@@ -3750,7 +3746,8 @@ function setup_postgresql() {
|
|||||||
"https://www.postgresql.org/media/keys/ACCC4CF8.asc" \
|
"https://www.postgresql.org/media/keys/ACCC4CF8.asc" \
|
||||||
"https://apt.postgresql.org/pub/repos/apt" \
|
"https://apt.postgresql.org/pub/repos/apt" \
|
||||||
"$SUITE" \
|
"$SUITE" \
|
||||||
"main"
|
"main" \
|
||||||
|
"amd64 arm64"
|
||||||
|
|
||||||
if ! $STD apt update; then
|
if ! $STD apt update; then
|
||||||
msg_error "APT update failed for PostgreSQL repository"
|
msg_error "APT update failed for PostgreSQL repository"
|
||||||
@@ -4099,7 +4096,8 @@ function setup_clickhouse() {
|
|||||||
"https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key" \
|
"https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key" \
|
||||||
"https://packages.clickhouse.com/deb" \
|
"https://packages.clickhouse.com/deb" \
|
||||||
"stable" \
|
"stable" \
|
||||||
"main"
|
"main" \
|
||||||
|
"amd64 arm64"
|
||||||
|
|
||||||
# Install packages with retry logic
|
# Install packages with retry logic
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ install_glances_debian() {
|
|||||||
msg_ok "Installed dependencies"
|
msg_ok "Installed dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Python + uv"
|
msg_info "Setting up Python + uv"
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/tools.func)
|
||||||
setup_uv PYTHON_VERSION="3.12"
|
setup_uv PYTHON_VERSION="3.12"
|
||||||
msg_ok "Setup Python + uv"
|
msg_ok "Setup Python + uv"
|
||||||
|
|
||||||
@@ -118,7 +118,7 @@ install_glances_alpine() {
|
|||||||
msg_ok "Installed dependencies"
|
msg_ok "Installed dependencies"
|
||||||
|
|
||||||
msg_info "Setting up Python + uv"
|
msg_info "Setting up Python + uv"
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/tools.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/tools.func)
|
||||||
setup_uv PYTHON_VERSION="3.12"
|
setup_uv PYTHON_VERSION="3.12"
|
||||||
msg_ok "Setup Python + uv"
|
msg_ok "Setup Python + uv"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ if ! command -v curl >/dev/null 2>&1; then
|
|||||||
apt-get update >/dev/null 2>&1
|
apt-get update >/dev/null 2>&1
|
||||||
apt-get install -y curl >/dev/null 2>&1
|
apt-get install -y curl >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/misc/core.func)
|
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
|
||||||
load_functions
|
load_functions
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
Reference in New Issue
Block a user