diff --git a/ct/maxun.sh b/ct/deferred/maxun.sh similarity index 100% rename from ct/maxun.sh rename to ct/deferred/maxun.sh diff --git a/ct/scraparr.sh b/ct/scraparr.sh deleted file mode 100644 index efe595dd..00000000 --- a/ct/scraparr.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: JasonGreenC -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/thecfu/scraparr - -APP="Scraparr" -var_tags="${var_tags:-arr;monitoring}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-1024}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -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 /opt/scraparr/ ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - if check_for_gh_release "scraparr" "thecfu/scraparr"; then - msg_info "Stopping Services" - systemctl stop scraparr - msg_ok "Services Stopped" - - PYTHON_VERSION="3.12" setup_uv - fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr" - - msg_info "Updating Scraparr" - cd /opt/scraparr - $STD uv venv /opt/scraparr/.venv - $STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade - $STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip - $STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt - chmod -R 755 /opt/scraparr - msg_ok "Updated Scraparr" - - msg_info "Starting Services" - systemctl start scraparr - msg_ok "Services Started" - msg_ok "Updated Successfully" - fi - 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}:7100${CL}" diff --git a/ct/signoz.sh b/ct/signoz.sh deleted file mode 100644 index 6efeec71..00000000 --- a/ct/signoz.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/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://signoz.io/ - -APP="signoz" -var_tags="${var_tags:-notes}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" -var_disk="${var_disk:-20}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -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 /opt/signoz ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "signoz" "SigNoz/signoz"; then - msg_info "Stopping Services" - systemctl stop signoz - systemctl stop signoz-otel-collector - msg_ok "Stopped Services" - - fetch_and_deploy_gh_release "signoz" "SigNoz/signoz" "prebuild" "latest" "/opt/signoz" "signoz-community_linux_amd64.tar.gz" - fetch_and_deploy_gh_release "signoz-otel-collector" "SigNoz/signoz-otel-collector" "prebuild" "latest" "/opt/signoz-otel-collector" "signoz-otel-collector_linux_amd64.tar.gz" - fetch_and_deploy_gh_release "signoz-schema-migrator" "SigNoz/signoz-otel-collector" "prebuild" "latest" "/opt/signoz-schema-migrator" "signoz-schema-migrator_linux_amd64.tar.gz" - - msg_info "Updating ${APP}" - cd /opt/signoz-schema-migrator/bin - $STD ./signoz-schema-migrator sync --dsn="tcp://localhost:9000?password=" --replication=true --up= - $STD ./signoz-schema-migrator async --dsn="tcp://localhost:9000?password=" --replication=true --up= - msg_ok "Updated $APP" - - msg_info "Starting Services" - systemctl start signoz-otel-collector - systemctl start signoz - msg_ok "Started Services" - - msg_ok "Updated Successfully" - fi - 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}" diff --git a/install/docspell-install.sh b/install/deferred/docspell-install.sh similarity index 100% rename from install/docspell-install.sh rename to install/deferred/docspell-install.sh diff --git a/install/hanko-install.sh b/install/deferred/hanko-install.sh similarity index 100% rename from install/hanko-install.sh rename to install/deferred/hanko-install.sh diff --git a/install/kanba-install.sh b/install/deferred/kanba-install.sh similarity index 100% rename from install/kanba-install.sh rename to install/deferred/kanba-install.sh diff --git a/install/maxun-install.sh b/install/deferred/maxun-install.sh similarity index 100% rename from install/maxun-install.sh rename to install/deferred/maxun-install.sh diff --git a/install/outline-install.sh b/install/outline-install.sh deleted file mode 100644 index ed496101..00000000 --- a/install/outline-install.sh +++ /dev/null @@ -1,90 +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://github.com/outline/outline - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y \ - mkcert \ - git \ - redis -msg_ok "Installed Dependencies" - -NODE_VERSION="20" NODE_MODULE="yarn@latest" setup_nodejs -PG_VERSION="16" setup_postgresql - -msg_info "Set up PostgreSQL Database" -DB_NAME="outline" -DB_USER="outline" -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 "Outline-Credentials" - echo "Outline Database User: $DB_USER" - echo "Outline Database Password: $DB_PASS" - echo "Outline Database Name: $DB_NAME" -} >>~/outline.creds -msg_ok "Set up PostgreSQL Database" - -fetch_and_deploy_gh_release "outline" "outline/outline" "tarball" "v0.87.3" - -msg_info "Configuring Outline (Patience)" -SECRET_KEY="$(openssl rand -hex 32)" -LOCAL_IP="$(hostname -I | awk '{print $1}')" -cd /opt/outline -cp .env.sample .env -export NODE_ENV=development -sed -i 's/NODE_ENV=production/NODE_ENV=development/g' /opt/outline/.env -sed -i "s/generate_a_new_key/${SECRET_KEY}/g" /opt/outline/.env -sed -i "s/user:pass@postgres/${DB_USER}:${DB_PASS}@localhost/g" /opt/outline/.env -sed -i 's/redis:6379/localhost:6379/g' /opt/outline/.env -sed -i "5s#URL=#URL=http://${LOCAL_IP}#g" /opt/outline/.env -sed -i 's/FORCE_HTTPS=true/FORCE_HTTPS=false/g' /opt/outline/.env -export NODE_OPTIONS="--max-old-space-size=3584" -$STD yarn install --frozen-lockfile -export NODE_ENV=production -sed -i 's/NODE_ENV=development/NODE_ENV=production/g' /opt/outline/.env -$STD yarn build -msg_ok "Configured Outline" - -msg_info "Creating Service" -cat </etc/systemd/system/outline.service -[Unit] -Description=Outline Service -After=network.target - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/outline -ExecStart=/usr/bin/yarn start -Restart=always -EnvironmentFile=/opt/outline/.env - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now outline -msg_ok "Created Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" diff --git a/install/scraparr-install.sh b/install/scraparr-install.sh deleted file mode 100644 index 8c0de782..00000000 --- a/install/scraparr-install.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: JasonGreenC -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/thecfu/scraparr - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -PYTHON_VERSION="3.13" setup_uv -fetch_and_deploy_gh_release "scrappar" "thecfu/scraparr" "tarball" "latest" "/opt/scraparr" - -msg_info "Installing Scraparr" -cd /opt/scraparr -$STD uv venv /opt/scraparr/.venv -$STD /opt/scraparr/.venv/bin/python -m ensurepip --upgrade -$STD /opt/scraparr/.venv/bin/python -m pip install --upgrade pip -$STD /opt/scraparr/.venv/bin/python -m pip install -r /opt/scraparr/src/scraparr/requirements.txt -chmod -R 755 /opt/scraparr -mkdir -p /scraparr/config -mv /opt/scraparr/config.yaml /scraparr/config/config.yaml -chmod -R 755 /scraparr -msg_ok "Installed Scraparr" - -msg_info "Creating Service" -cat </etc/systemd/system/scraparr.service -[Unit] -Description=Scraparr -Wants=network-online.target -After=network.target - -[Service] -Type=simple -WorkingDirectory=/opt/scraparr/src -ExecStart=/opt/scraparr/.venv/bin/python -m scraparr.scraparr -Restart=always - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now scraparr -msg_ok "Configured Service" - -motd_ssh -customize - -msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned" diff --git a/install/signoz-install.sh b/install/signoz-install.sh deleted file mode 100644 index fb52d12b..00000000 --- a/install/signoz-install.sh +++ /dev/null @@ -1,264 +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/ProxmoxVED/raw/main/LICENSE -# Source: https://signoz.io/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt-get install -y \ - apt-transport-https \ - ca-certificates -msg_ok "Installed Dependencies" - -JAVA_VERSION="21" setup_java - -msg_info "Setting up ClickHouse" -curl -fsSL "https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key" | gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg -echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=amd64] https://packages.clickhouse.com/deb stable main" >/etc/apt/sources.list.d/clickhouse.list -$STD apt-get update -export DEBIAN_FRONTEND=noninteractive -$STD apt-get install -y clickhouse-server clickhouse-client -msg_ok "Setup ClickHouse" - -msg_info "Setting up Zookeeper" -curl -fsSL "https://dlcdn.apache.org/zookeeper/current/$(curl -fsSL https://dlcdn.apache.org/zookeeper/current/ | grep -o 'apache-zookeeper-[0-9.]\+-bin\.tar\.gz' | head -n1)" -o ~/zookeeper.tar.gz -tar -xzf "$HOME/zookeeper.tar.gz" -C "$HOME" -mkdir -p /opt/zookeeper -mkdir -p /var/lib/zookeeper -mkdir -p /var/log/zookeeper -cp -r ~/apache-zookeeper-*-bin/* /opt/zookeeper - -cat </opt/zookeeper/conf/zoo.cfg -tickTime=2000 -dataDir=/var/lib/zookeeper -clientPort=2181 -admin.serverPort=3181 -EOF - -cat </opt/zookeeper/conf/zoo.env -ZOO_LOG_DIR=/var/log/zookeeper -EOF - -cat </etc/systemd/system/zookeeper.service -[Unit] -Description=Zookeeper -Documentation=http://zookeeper.apache.org - -[Service] -EnvironmentFile=/opt/zookeeper/conf/zoo.env -Type=forking -WorkingDirectory=/opt/zookeeper -ExecStart=/opt/zookeeper/bin/zkServer.sh start /opt/zookeeper/conf/zoo.cfg -ExecStop=/opt/zookeeper/bin/zkServer.sh stop /opt/zookeeper/conf/zoo.cfg -ExecReload=/opt/zookeeper/bin/zkServer.sh restart /opt/zookeeper/conf/zoo.cfg -TimeoutSec=30 -Restart=on-failure - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now zookeeper -msg_ok "Setup Zookeeper" - -msg_info "Configuring ClickHouse" -cat </etc/clickhouse-server/config.d/cluster.xml - - - /clickhouse/task_queue/ddl - - - - - - 127.0.0.1 - 9000 - - - - - - - 127.0.0.1 - 2181 - - - - 01 - 01 - - -EOF -systemctl enable -q --now clickhouse-server -msg_ok "Configured ClickHouse" - -fetch_and_deploy_gh_release "signoz-schema-migrator" "SigNoz/signoz-otel-collector" "prebuild" "latest" "/opt/signoz-schema-migrator" "signoz-schema-migrator_linux_amd64.tar.gz" - -msg_info "Running ClickHouse migrations" -cd /opt/signoz-schema-migrator/bin -$STD ./signoz-schema-migrator sync --dsn="tcp://localhost:9000?password=" --replication=true --up= -$STD ./signoz-schema-migrator async --dsn="tcp://localhost:9000?password=" --replication=true --up= -msg_ok "ClickHouse Migrations Completed" - -fetch_and_deploy_gh_release "signoz" "SigNoz/signoz" "prebuild" "latest" "/opt/signoz" "signoz-community_linux_amd64.tar.gz" - -msg_info "Setting up SigNoz" -mkdir -p /var/lib/signoz - -cat </opt/signoz/conf/systemd.env -SIGNOZ_INSTRUMENTATION_LOGS_LEVEL=info -INVITE_EMAIL_TEMPLATE=/opt/signoz/templates/invitation_email_template.html -SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db -SIGNOZ_WEB_ENABLED=true -SIGNOZ_WEB_DIRECTORY=/opt/signoz/web -SIGNOZ_JWT_SECRET=secret -SIGNOZ_ALERTMANAGER_PROVIDER=signoz -SIGNOZ_TELEMETRYSTORE_PROVIDER=clickhouse -SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://localhost:9000?password= -DOT_METRICS_ENABLED=true -EOF - -cat </etc/systemd/system/signoz.service -[Unit] -Description=SigNoz -Documentation=https://signoz.io/docs -After=clickhouse-server.service - -[Service] -Type=simple -KillMode=mixed -Restart=on-failure -WorkingDirectory=/opt/signoz -EnvironmentFile=/opt/signoz/conf/systemd.env -ExecStart=/opt/signoz/bin/signoz server - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now signoz -msg_ok "Setup Signoz" - -fetch_and_deploy_gh_release "signoz-otel-collector" "SigNoz/signoz-otel-collector" "prebuild" "latest" "/opt/signoz-otel-collector" "signoz-otel-collector_linux_amd64.tar.gz" - -msg_info "Setting up SigNoz OTel Collector" -mkdir -p /var/lib/signoz-otel-collector - -cat </opt/signoz-otel-collector/conf/config.yaml -receivers: - otlp: - protocols: - grpc: - endpoint: 0.0.0.0:4317 - max_recv_msg_size_mib: 16 - http: - endpoint: 0.0.0.0:4318 - jaeger: - protocols: - grpc: - endpoint: 0.0.0.0:14250 - thrift_http: - endpoint: 0.0.0.0:14268 - httplogreceiver/heroku: - endpoint: 0.0.0.0:8081 - source: heroku - httplogreceiver/json: - endpoint: 0.0.0.0:8082 - source: json -processors: - batch: - send_batch_size: 50000 - timeout: 1s - signozspanmetrics/delta: - metrics_exporter: signozclickhousemetrics - latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s] - dimensions_cache_size: 100000 - dimensions: - - name: service.namespace - default: default - - name: deployment.environment - default: default - - name: signoz.collector.id - aggregation_temporality: AGGREGATION_TEMPORALITY_DELTA -extensions: - health_check: - endpoint: 0.0.0.0:13133 - zpages: - endpoint: localhost:55679 - pprof: - endpoint: localhost:1777 -exporters: - clickhousetraces: - datasource: tcp://localhost:9000/signoz_traces?password= - use_new_schema: true - signozclickhousemetrics: - dsn: tcp://localhost:9000/signoz_metrics?password= - timeout: 45s - clickhouselogsexporter: - dsn: tcp://localhost:9000/signoz_logs?password= - timeout: 10s - use_new_schema: true - metadataexporter: - dsn: tcp://localhost:9000/signoz_metadata?password= - timeout: 10s - tenant_id: default - cache: - provider: in_memory -service: - telemetry: - logs: - encoding: json - extensions: [health_check, zpages, pprof] - pipelines: - traces: - receivers: [otlp, jaeger] - processors: [signozspanmetrics/delta, batch] - exporters: [clickhousetraces, metadataexporter] - metrics: - receivers: [otlp] - processors: [batch] - exporters: [metadataexporter, signozclickhousemetrics] - logs: - receivers: [otlp, httplogreceiver/heroku, httplogreceiver/json] - processors: [batch] - exporters: [clickhouselogsexporter, metadataexporter] -EOF - -cat </opt/signoz-otel-collector/conf/opamp.yaml -server_endpoint: ws://127.0.0.1:4320/v1/opamp -EOF - -cat </etc/systemd/system/signoz-otel-collector.service -[Unit] -Description=SigNoz OTel Collector -Documentation=https://signoz.io/docs -After=clickhouse-server.service - -[Service] -Type=simple -KillMode=mixed -Restart=on-failure -WorkingDirectory=/opt/signoz-otel-collector -ExecStart=/opt/signoz-otel-collector/bin/signoz-otel-collector --config=/opt/signoz-otel-collector/conf/config.yaml --manager-config=/opt/signoz-otel-collector/conf/opamp.yaml --copy-path=/var/lib/signoz-otel-collector/config.yaml - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now signoz-otel-collector - -motd_ssh -customize - -msg_info "Cleaning up" -rm -rf ~/zookeeper.tar.gz -rm -rf ~/apache-zookeeper-*-bin -$STD apt-get -y autoremove -$STD apt-get -y autoclean -msg_ok "Cleaned"