Links: GitHub -> Gitea git.bobyrev.com (GitHub accounts suspended)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Legacy GHCR mode only.
|
||||
# Обычная установка больше не требует .env и GHCR PAT:
|
||||
# curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh | sudo bash
|
||||
# curl -fsSL https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh | sudo bash
|
||||
#
|
||||
# Этот файл нужен только если вы сознательно запускаете USE_GHCR=1.
|
||||
|
||||
|
||||
24
README.md
24
README.md
@@ -43,7 +43,7 @@ andrey271192/amnezia_web-PRO_test
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh \
|
||||
https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -53,14 +53,14 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
export ADMIN_PASSWORD='СЛОЖНЫЙ_ПАРОЛЬ'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh \
|
||||
https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
`quick-install.sh` скачает и запустит основной установщик:
|
||||
|
||||
```bash
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh
|
||||
```
|
||||
|
||||
Если `GITHUB_TOKEN` не передан, GitHub вернёт `404` или `403`. Это нормально: repo закрыт.
|
||||
@@ -96,7 +96,7 @@ WARNING! Your credentials are stored unencrypted in '/root/.docker/config.json'
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
USE_GHCR=1 curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh \
|
||||
https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -123,7 +123,7 @@ USE_GHCR=1 sudo -E bash scripts/install.sh
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh \
|
||||
https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -169,7 +169,7 @@ docker compose version
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
export NGINX_HTTP_PORT=8081
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -181,7 +181,7 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
export ADMIN_PASSWORD='НОВЫЙ_ПАРОЛЬ'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -192,10 +192,10 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/uninstall.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/uninstall.sh \
|
||||
| sudo REMOVE_DATA=1 REMOVE_DIR=1 bash
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh \
|
||||
https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -206,7 +206,7 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/uninstall.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/uninstall.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -215,7 +215,7 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
```bash
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/uninstall.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/uninstall.sh \
|
||||
| sudo REMOVE_DATA=1 REMOVE_DIR=1 bash
|
||||
```
|
||||
|
||||
@@ -241,6 +241,6 @@ docker compose up -d
|
||||
|
||||
## Поддержка проекта
|
||||
|
||||
- GitHub: [andrey271192/amnezia_web-PRO_test](https://github.com/andrey271192/amnezia_web-PRO_test)
|
||||
- GitHub: [andrey271192/amnezia_web-PRO_test](https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test)
|
||||
- Boosty: [boosty.to/andrey27/donate](https://boosty.to/andrey27/donate)
|
||||
- Telegram: [@PCAdministration](https://t.me/PCAdministration)
|
||||
|
||||
@@ -33,7 +33,7 @@ export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
export ADMIN_PASSWORD='СЛОЖНЫЙ_ПАРОЛЬ'
|
||||
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -45,7 +45,7 @@ export ADMIN_PASSWORD='СЛОЖНЫЙ_ПАРОЛЬ'
|
||||
export NGINX_HTTP_PORT=25050
|
||||
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -85,7 +85,7 @@ docker compose up -d
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/uninstall.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/uninstall.sh \
|
||||
| sudo -E bash
|
||||
```
|
||||
|
||||
@@ -95,7 +95,7 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
export GITHUB_TOKEN='ТОКЕН_ИЗ_BOOSTY'
|
||||
|
||||
curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/uninstall.sh \
|
||||
https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/uninstall.sh \
|
||||
| sudo REMOVE_DATA=1 REMOVE_DIR=1 bash
|
||||
```
|
||||
|
||||
@@ -123,4 +123,4 @@ curl -fsSL -H "Authorization: Bearer ${GITHUB_TOKEN}" \
|
||||
|
||||
- Boosty: https://boosty.to/andrey27
|
||||
- Telegram: @PCAdministration
|
||||
- GitHub: https://github.com/andrey271192
|
||||
- GitHub: https://git.bobyrev.com/PCA
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -euo pipefail
|
||||
|
||||
RAW_BASE="${RAW_BASE:-https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main}"
|
||||
SOURCE_INSTALL_URL="${SOURCE_INSTALL_URL:-https://raw.githubusercontent.com/andrey271192/amnezia_web-PRO_test/main/install.sh}"
|
||||
SOURCE_INSTALL_URL="${SOURCE_INSTALL_URL:-https://git.bobyrev.com/PCA_Private/amnezia_web-PRO_test/raw/branch/main/install.sh}"
|
||||
|
||||
need_root() {
|
||||
if [[ "${EUID:-$(id -u)}" -ne 0 ]]; then
|
||||
@@ -47,7 +47,7 @@ if [[ "${USE_GHCR:-0}" != "1" ]]; then
|
||||
exec bash "$tmp"
|
||||
fi
|
||||
|
||||
DEPLOY_REPO="${DEPLOY_REPO:-https://github.com/andrey271192/amnezia-web-pro-deploy.git}"
|
||||
DEPLOY_REPO="${DEPLOY_REPO:-https://git.bobyrev.com/PCA/amnezia-web-pro-deploy.git}"
|
||||
INSTALL_ROOT="${INSTALL_ROOT:-/opt/amnezia-web-pro-deploy}"
|
||||
|
||||
DEFAULT_GHCR_IMAGE="${DEFAULT_GHCR_IMAGE:-ghcr.io/andrey271192/amnezia-admin-pro}"
|
||||
|
||||
@@ -35,7 +35,7 @@ COMPOSE=(docker compose)
|
||||
if [[ "${USE_GHCR:-0}" != "1" ]]; then
|
||||
echo "Этот сценарий использует private GHCR image и может дать 403 Forbidden."
|
||||
echo "Для обычной установки используйте:"
|
||||
echo " curl -fsSL https://raw.githubusercontent.com/andrey271192/amnezia-web-pro-deploy/main/quick-install.sh | sudo bash"
|
||||
echo " curl -fsSL https://git.bobyrev.com/PCA/amnezia-web-pro-deploy/raw/branch/main/quick-install.sh | sudo bash"
|
||||
echo ""
|
||||
echo "Если точно нужен старый GHCR-режим, запустите:"
|
||||
echo " USE_GHCR=1 sudo -E bash scripts/install.sh"
|
||||
|
||||
Reference in New Issue
Block a user