Compare commits
4 Commits
cb9c539fc1
...
b6b61d7488
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b6b61d7488 | ||
![]() |
9e9a18cf71 | ||
![]() |
5eaa071d7d | ||
![]() |
a02ad32edc |
@ -72,7 +72,7 @@
|
|||||||
### 🌐 Website
|
### 🌐 Website
|
||||||
|
|
||||||
- Update siteConfig.tsx to use new analytics code [@BramSuurdje](https://github.com/BramSuurdje) ([#3389](https://github.com/community-scripts/ProxmoxVE/pull/3389))
|
- Update siteConfig.tsx to use new analytics code [@BramSuurdje](https://github.com/BramSuurdje) ([#3389](https://github.com/community-scripts/ProxmoxVE/pull/3389))
|
||||||
- Bump next from 15.1.3 to 15.2.16](https://github.com/community-scripts/ProxmoxVE/pull/3316))
|
- Bump next from 15.1.3 to 15.2.16](https://github.com/community-scripE/pull/3316))
|
||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 tteck
|
|
||||||
# Author: tteck (tteckster)
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://openobserve.ai/
|
|
||||||
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
msg_info "Installing OpenObserve"
|
|
||||||
mkdir -p /opt/openobserve/data
|
|
||||||
LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
|
|
||||||
$STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve
|
|
||||||
|
|
||||||
cat <<EOF >/opt/openobserve/data/.env
|
|
||||||
ZO_ROOT_USER_EMAIL = "admin@example.com"
|
|
||||||
ZO_ROOT_USER_PASSWORD = "$(openssl rand -base64 18 | cut -c1-13)"
|
|
||||||
ZO_DATA_DIR = "/opt/openobserve/data"
|
|
||||||
ZO_HTTP_PORT = "5080"
|
|
||||||
EOF
|
|
||||||
msg_ok "Installed OpenObserve"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
|
||||||
cat <<EOF >/etc/systemd/system/openobserve.service
|
|
||||||
[Unit]
|
|
||||||
Description=OpenObserve
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
EnvironmentFile=/opt/openobserve/data/.env
|
|
||||||
ExecStart=/opt/openobserve/openobserve
|
|
||||||
ExecStop=killall -QUIT openobserve
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
EOF
|
|
||||||
systemctl enable -q --now openobserve
|
|
||||||
msg_ok "Created Service"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
|
||||||
$STD apt-get -y autoremove
|
|
||||||
$STD apt-get -y autoclean
|
|
||||||
msg_ok "Cleaned"
|
|
@ -1,66 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
|
||||||
# Author: CrazyWolf13
|
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
||||||
# Source: https://github.com/CrazyWolf13/streamlink-webui
|
|
||||||
|
|
||||||
# Import Functions und Setup
|
|
||||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
||||||
color
|
|
||||||
verb_ip6
|
|
||||||
catch_errors
|
|
||||||
setting_up_container
|
|
||||||
network_check
|
|
||||||
update_os
|
|
||||||
|
|
||||||
NODE_VERSION="22"
|
|
||||||
NODE_MODULE="npm@latest,yarn@latest"
|
|
||||||
install_node_and_modules
|
|
||||||
setup_uv
|
|
||||||
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
|
||||||
|
|
||||||
msg_info "Setup ${APPLICATION}"
|
|
||||||
mkdir -p "/opt/${APPLICATION}-download"
|
|
||||||
$STD uv venv /opt/"${APPLICATION}"/backend/src/.venv
|
|
||||||
source /opt/"${APPLICATION}"/backend/src/.venv/bin/activate
|
|
||||||
$STD uv pip install -r /opt/streamlink-webui/backend/src/requirements.txt --python=/opt/"${APPLICATION}"/backend/src/.venv
|
|
||||||
cd /opt/"${APPLICATION}"/frontend/src
|
|
||||||
$STD yarn install
|
|
||||||
$STD yarn build
|
|
||||||
chmod +x /opt/"${APPLICATION}"/start.sh
|
|
||||||
msg_ok "Setup ${APPLICATION}"
|
|
||||||
|
|
||||||
msg_info "Creating Service"
|
|
||||||
cat <<'EOF' >/opt/"${APPLICATION}".env
|
|
||||||
CLIENT_ID='your_client_id'
|
|
||||||
CLIENT_SECRET='your_client_secret'
|
|
||||||
DOWNLOAD_PATH='/opt/streamlink-webui-download'
|
|
||||||
# BASE_URL='https://sub.domain.com' \
|
|
||||||
# REVERSE_PROXY=True \
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat <<EOF >/etc/systemd/system/"${APPLICATION}".service
|
|
||||||
[Unit]
|
|
||||||
Description=${APPLICATION} Service
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
EnvironmentFile=/opt/${APPLICATION}.env
|
|
||||||
WorkingDirectory=/opt/${APPLICATION}/backend/src
|
|
||||||
ExecStart=/bin/bash -c 'source /opt/${APPLICATION}/backend/src/.venv/bin/activate && exec /opt/${APPLICATION}/start.sh'
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
EOF
|
|
||||||
systemctl enable -q --now "${APPLICATION}"
|
|
||||||
msg_ok "Created Service"
|
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
|
||||||
$STD apt-get -y autoremove
|
|
||||||
$STD apt-get -y autoclean
|
|
||||||
msg_ok "Cleaned"
|
|
Loading…
x
Reference in New Issue
Block a user