chore(deploy): перевести UI-деплой на белый IP 194.87.0.247

This commit is contained in:
AidarKC 2026-04-23 20:16:12 +03:00
parent 93aef6e18b
commit e764a713c4
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
set -euo pipefail
SRC_DIR="shine-UI"
REMOTE_HOST="${REMOTE_HOST:-user@10.147.20.7}"
REMOTE_HOST="${REMOTE_HOST:-user@194.87.0.247}"
REMOTE_BASE_DIR="${REMOTE_BASE_DIR:-/home/user/docker/caddyFile/sites}"
BUILD_VERSION="$(date -u +%Y%m%d%H%M%S)"
VERSION_FILE="VERSION.properties"

View File

@ -31,8 +31,8 @@
- `bash deploy_shine-PWA.sh ui-aidar`
## Поддержка переопределения
- `REMOTE_HOST` (по умолчанию `user@10.147.20.7`)
- `REMOTE_HOST` (по умолчанию `user@194.87.0.247`)
- `REMOTE_BASE_DIR` (по умолчанию `/home/user/docker/caddyFile/sites`)
Пример:
`REMOTE_HOST=user@10.147.20.7 REMOTE_BASE_DIR=/home/user/docker/caddyFile/sites bash deploy_shine-PWA.sh ui_2`
`REMOTE_HOST=user@194.87.0.247 REMOTE_BASE_DIR=/home/user/docker/caddyFile/sites bash deploy_shine-PWA.sh ui_2`

View File

@ -1742,7 +1742,7 @@ import java.util.Objects;
public class IT_DeployRestartAndRunRemoteMain {
// ====== НАСТРОЙКИ (можно переопределять systemProperty) ======
private static final String REMOTE_HOST = System.getProperty("it.remoteHost", "10.147.20.7");
private static final String REMOTE_HOST = System.getProperty("it.remoteHost", "194.87.0.247");
private static final String REMOTE_USER = System.getProperty("it.remoteUser", "user");
private static final String REMOTE_DIR = System.getProperty("it.remoteDir", "/home/user/docker/shine-server");