Links: GitHub -> Gitea git.bobyrev.com (GitHub accounts suspended)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Andrei Leibzon
2026-11-20 23:50:12 +03:00
parent e5ea14f046
commit 3e16ced4c8
2 changed files with 7 additions and 7 deletions

View File

@@ -7,14 +7,14 @@
На свежем Ubuntu VPS (root):
```bash
curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/install.sh | sudo bash
curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/install.sh | sudo bash
```
Скрипт автоматически:
- ставит **nginx** и отдаёт сайт на **порту 80** (HTTP);
- разворачивает **поиск доменов** (`/search`) и API (`/api/search`);
- клонирует [domain-finder-bot](https://github.com/andrey271192/domain-finder-bot) для логики discovery;
- клонирует [domain-finder-bot](https://git.bobyrev.com/PCA_Private/domain-finder-bot) для логики discovery;
- **не трогает** Amnezia/Docker на **443**, существующий Telegram-бот и другие сервисы.
### Переменные окружения (опционально)
@@ -58,7 +58,7 @@ nano /var/www/domain-web/data/site-config.json
## Удаление
```bash
curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/uninstall.sh | sudo bash
curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/uninstall.sh | sudo bash
```
## Структура репозитория
@@ -82,7 +82,7 @@ cd web && python3 -m http.server 8080
## Связанные проекты
- [domain-finder-bot](https://github.com/andrey271192/domain-finder-bot) — Telegram-бот с той же логикой поиска
- [domain-finder-bot](https://git.bobyrev.com/PCA_Private/domain-finder-bot) — Telegram-бот с той же логикой поиска
## Лицензия

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env bash
# Domain Web — full deploy: static site + search API (nginx :80)
# curl -fsSL https://raw.githubusercontent.com/andrey271192/Domain_web/main/install.sh | sudo bash
# curl -fsSL https://git.bobyrev.com/PCA/Domain_web/raw/branch/main/install.sh | sudo bash
set -euo pipefail
REPO_URL="${DOMAIN_WEB_REPO_URL:-https://github.com/andrey271192/Domain_web.git}"
BOT_REPO_URL="${DOMAIN_FINDER_REPO:-https://github.com/andrey271192/domain-finder-bot.git}"
REPO_URL="${DOMAIN_WEB_REPO_URL:-https://git.bobyrev.com/PCA/Domain_web.git}"
BOT_REPO_URL="${DOMAIN_FINDER_REPO:-https://git.bobyrev.com/PCA_Private/domain-finder-bot.git}"
BRANCH="${DOMAIN_WEB_BRANCH:-main}"
INSTALL_SRC="${DOMAIN_WEB_INSTALL_SRC:-/opt/domain-web-src}"
WEB_ROOT="${DOMAIN_WEB_ROOT:-/var/www/domain-web}"