v1.0.1
This commit is contained in:
@@ -61,11 +61,11 @@
|
|||||||
|
|
||||||
## Установка
|
## Установка
|
||||||
|
|
||||||
У вас должны быть установлены пакеты на сервере: `curl`, `jq` и панель управления `3x-ui`, которую можно установить командой: `bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)`
|
У вас должны быть установлены пакеты на сервере `curl`, `jq` командой: `apt install curl jq` и панель управления `3x-ui`, которую можно установить командой: `bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)`
|
||||||
Установите проект на сервер командой:
|
Установите проект на сервер командой:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Краткое описание: запускает скрипт установки и разворачивает контейнеры и сервисы.</small>
|
<small>Краткое описание: запускает скрипт установки и разворачивает контейнеры и сервисы.</small>
|
||||||
@@ -75,7 +75,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Обновление до последней версии:
|
Обновление до последней версии:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/update.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Краткое описание: подтягивает последние изменения и перезапускает контейнеры.</small>
|
<small>Краткое описание: подтягивает последние изменения и перезапускает контейнеры.</small>
|
||||||
@@ -85,7 +85,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Полное удаление сервиса:
|
Полное удаление сервиса:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Краткое описание: удаляет контейнеры и файлы конфигурации, возвращая систему к состоянию до установки.</small>
|
<small>Краткое описание: удаляет контейнеры и файлы конфигурации, возвращая систему к состоянию до установки.</small>
|
||||||
@@ -94,10 +94,13 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
|
|
||||||
## Установка сервиса перенаправления (forwarding)
|
## Установка сервиса перенаправления (forwarding)
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Сервис перенаправления работает на промежуточном сервере.
|
||||||
|
|
||||||
Сервис перенаправления позволяет проксировать входящие порты с промежуточного сервера на основной.
|
Сервис перенаправления позволяет проксировать входящие порты с промежуточного сервера на основной.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Краткое описание: добавляет правила перенаправления и создает сервис для обновления подписки.</small>
|
<small>Краткое описание: добавляет правила перенаправления и создает сервис для обновления подписки.</small>
|
||||||
@@ -105,7 +108,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
## Удаление перенаправления
|
## Удаление перенаправления
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Краткое описание: удаляет правила и отключает сервис перенаправления.</small>
|
<small>Краткое описание: удаляет правила и отключает сервис перенаправления.</small>
|
||||||
|
|||||||
+5
-5
@@ -61,7 +61,7 @@
|
|||||||
在服务器上运行以下命令安装项目:
|
在服务器上运行以下命令安装项目:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>简要说明:运行安装脚本并部署容器和服务。</small>
|
<small>简要说明:运行安装脚本并部署容器和服务。</small>
|
||||||
@@ -71,7 +71,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
更新到最新版本:
|
更新到最新版本:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/update.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>简要说明:拉取最新更改并重启容器。</small>
|
<small>简要说明:拉取最新更改并重启容器。</small>
|
||||||
@@ -81,7 +81,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
彻底删除服务:
|
彻底删除服务:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>简要说明:删除容器和配置文件,恢复到安装前状态。</small>
|
<small>简要说明:删除容器和配置文件,恢复到安装前状态。</small>
|
||||||
@@ -93,7 +93,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
转发服务允许将中继服务器的入站端口代理到主服务器。
|
转发服务允许将中继服务器的入站端口代理到主服务器。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>简要说明:添加转发规则并创建用于更新订阅的服务。</small>
|
<small>简要说明:添加转发规则并创建用于更新订阅的服务。</small>
|
||||||
@@ -101,7 +101,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
## 删除转发
|
## 删除转发
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>简要说明:删除规则并禁用转发服务。</small>
|
<small>简要说明:删除规则并禁用转发服务。</small>
|
||||||
|
|||||||
+5
-5
@@ -61,7 +61,7 @@ Recommendations:
|
|||||||
Install the project on your server with:
|
Install the project on your server with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Short description: runs the installer script and deploys containers and services.</small>
|
<small>Short description: runs the installer script and deploys containers and services.</small>
|
||||||
@@ -71,7 +71,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Update to the latest version:
|
Update to the latest version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/update.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Short description: pulls the latest changes and restarts containers.</small>
|
<small>Short description: pulls the latest changes and restarts containers.</small>
|
||||||
@@ -81,7 +81,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Remove the service completely:
|
Remove the service completely:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Short description: removes containers and configuration files, restoring the system to the pre-install state.</small>
|
<small>Short description: removes containers and configuration files, restoring the system to the pre-install state.</small>
|
||||||
@@ -93,7 +93,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
The forwarding service allows proxying incoming ports from the intermediate server to the main server.
|
The forwarding service allows proxying incoming ports from the intermediate server to the main server.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Short description: adds forwarding rules and creates a service to update the subscription.</small>
|
<small>Short description: adds forwarding rules and creates a service to update the subscription.</small>
|
||||||
@@ -101,7 +101,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
## Remove forwarding
|
## Remove forwarding
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Short description: removes rules and disables the forwarding service.</small>
|
<small>Short description: removes rules and disables the forwarding service.</small>
|
||||||
|
|||||||
+5
-5
@@ -61,7 +61,7 @@
|
|||||||
برای نصب پروژه در سرور، دستور زیر را اجرا کنید:
|
برای نصب پروژه در سرور، دستور زیر را اجرا کنید:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>توضیح کوتاه: اسکریپت نصب را اجرا کرده و کانتینرها و سرویسها را راهاندازی میکند.</small>
|
<small>توضیح کوتاه: اسکریپت نصب را اجرا کرده و کانتینرها و سرویسها را راهاندازی میکند.</small>
|
||||||
@@ -71,7 +71,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
برای بهروزرسانی به آخرین نسخه:
|
برای بهروزرسانی به آخرین نسخه:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/update.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>توضیح کوتاه: تغییرات جدید را میکشد و کانتینرها را ریاستارت میکند.</small>
|
<small>توضیح کوتاه: تغییرات جدید را میکشد و کانتینرها را ریاستارت میکند.</small>
|
||||||
@@ -81,7 +81,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
برای حذف کامل سرویس:
|
برای حذف کامل سرویس:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>توضیح کوتاه: کانتینرها و فایلهای پیکربندی را حذف میکند و سیستم را به وضعیت پیش از نصب برمیگرداند.</small>
|
<small>توضیح کوتاه: کانتینرها و فایلهای پیکربندی را حذف میکند و سیستم را به وضعیت پیش از نصب برمیگرداند.</small>
|
||||||
@@ -93,7 +93,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
سرویس فورواردینگ امکان پراکسی کردن پورتهای ورودی از سرور واسط به سرور اصلی را فراهم میکند.
|
سرویس فورواردینگ امکان پراکسی کردن پورتهای ورودی از سرور واسط به سرور اصلی را فراهم میکند.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>توضیح کوتاه: قوانین فورواردینگ را اضافه کرده و سرویسی برای بهروزرسانی اشتراک ایجاد میکند.</small>
|
<small>توضیح کوتاه: قوانین فورواردینگ را اضافه کرده و سرویسی برای بهروزرسانی اشتراک ایجاد میکند.</small>
|
||||||
@@ -101,7 +101,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
## حذف فورواردینگ
|
## حذف فورواردینگ
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>توضیح کوتاه: قوانین را حذف کرده و سرویس فورواردینگ را غیرفعال میکند.</small>
|
<small>توضیح کوتاه: قوانین را حذف کرده و سرویس فورواردینگ را غیرفعال میکند.</small>
|
||||||
|
|||||||
+5
-5
@@ -61,7 +61,7 @@ Maslahatchylyklar:
|
|||||||
Taslamany serwera gurnamak üçin şu komandany ýerine ýetiriň:
|
Taslamany serwera gurnamak üçin şu komandany ýerine ýetiriň:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Gysgaça: gurnama skripti işledilýär we konteýnerler we hyzmatlar döredilýär.</small>
|
<small>Gysgaça: gurnama skripti işledilýär we konteýnerler we hyzmatlar döredilýär.</small>
|
||||||
@@ -71,7 +71,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Soňky wersiýa çenli täzeläň:
|
Soňky wersiýa çenli täzeläň:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/update.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/update.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Gysgaça: iň soňky üýtgeşmeleri çekýär we konteýnerleri gaýtadan işledýär.</small>
|
<small>Gysgaça: iň soňky üýtgeşmeleri çekýär we konteýnerleri gaýtadan işledýär.</small>
|
||||||
@@ -81,7 +81,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Hyzmaty doly pozmak üçin:
|
Hyzmaty doly pozmak üçin:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
<small>Gysgaça: konteýnerleri we konfigurasiýa faýllaryny pozup, systemany gurnamadan öňki ýagdaýyna getirer.</small>
|
<small>Gysgaça: konteýnerleri we konfigurasiýa faýllaryny pozup, systemany gurnamadan öňki ýagdaýyna getirer.</small>
|
||||||
@@ -93,13 +93,13 @@ bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-f
|
|||||||
Forwarding hyzmaty aragatnaşyk serwerinden esasy servere gelýän portlary proxy arkaly geçirýär.
|
Forwarding hyzmaty aragatnaşyk serwerinden esasy servere gelýän portlary proxy arkaly geçirýär.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_install.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_install.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Forwarding-i pozmak
|
## Forwarding-i pozmak
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/forwarding_delete.sh)
|
bash <(curl -fsSL https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/forwarding_delete.sh)
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@ api.interceptors.request.use(config => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const WHITELIST_FILE = "/app/whitelist.txt";
|
const WHITELIST_FILE = "/app/whitelist.txt";
|
||||||
const WHITELIST_REPO_URL = "https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix/whitelist.txt";
|
const WHITELIST_REPO_URL = "https://raw.githubusercontent.com/denpiligrim/3dp-manager/main/whitelist.txt";
|
||||||
|
|
||||||
// Helper functions
|
// Helper functions
|
||||||
async function updateWhitelist() {
|
async function updateWhitelist() {
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ cd "$BASE_DIR"
|
|||||||
#################################
|
#################################
|
||||||
# DOWNLOAD FILES
|
# DOWNLOAD FILES
|
||||||
#################################
|
#################################
|
||||||
REPO="https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix"
|
REPO="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||||
NGINX_PORT=$ORIGIN_PORT
|
NGINX_PORT=$ORIGIN_PORT
|
||||||
if [[ "$USE_HTTPS" == "true" ]]; then
|
if [[ "$USE_HTTPS" == "true" ]]; then
|
||||||
NGINX_PROTO="https"
|
NGINX_PROTO="https"
|
||||||
|
|||||||
+1
-1
@@ -147,7 +147,7 @@ cd "$PROJECT_DIR"
|
|||||||
#################################
|
#################################
|
||||||
# Get country flag
|
# Get country flag
|
||||||
#################################
|
#################################
|
||||||
REPO_BASE="https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix"
|
REPO_BASE="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||||
COUNTRY_FLAG=""
|
COUNTRY_FLAG=""
|
||||||
|
|
||||||
# Get countryCode
|
# Get countryCode
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ fi
|
|||||||
# CONFIG
|
# CONFIG
|
||||||
#################################
|
#################################
|
||||||
PROJECT_DIR="/opt/3dp-manager"
|
PROJECT_DIR="/opt/3dp-manager"
|
||||||
REPO_RAW="https://raw.githubusercontent.com/denpiligrim/3dp-manager/dp-fix"
|
REPO_RAW="https://raw.githubusercontent.com/denpiligrim/3dp-manager/main"
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
# START
|
# START
|
||||||
|
|||||||
Reference in New Issue
Block a user