Change farm password to pendol1722

This commit is contained in:
Muse committed 2026-12-01 22:32:17 +07:00
1 parent 0010f68a42
commit c957a0ffe3
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ semua 8 browser langsung terhubung otomatis (tanpa login per cell).
## Login: satu password untuk seluruh farm
- **Satu login, bukan 8.** Grid dikunci satu password (defaultnya sama
dengan password Neko: `FarmBrowser2026`). Setelah login, sesi berlaku
dengan password Neko: `pendol1722`). Setelah login, sesi berlaku
7 hari (cookie `farm_auth`, httpOnly).
- **Cell auto-connect.** Manager login sendiri ke tiap instance Neko
(`POST /api/login` dengan user `pend`) dan menyisipkan token sesi ke
+1 -1
View File
@@ -27,7 +27,7 @@ const CONFIG_PATH = path.join(__dirname, 'config.json');
const GENERATE_SCRIPT = path.join(__dirname, '..', 'scripts', 'generate.js');
// Single password for the whole farm: the grid login AND every Neko
// instance's password. Must match FARM_PASSWORD in scripts/install.sh.
const FARM_PASSWORD = process.env.FARM_PASSWORD || 'FarmBrowser2026';
const FARM_PASSWORD = process.env.FARM_PASSWORD || 'pendol1722';
const NEKO_LOGIN_USER = 'pend';
const TOKEN_TTL_MS = 55 * 60 * 1000; // Neko tokens are re-fetched every 55 min
const SESSION_TTL_MS = 7 * 24 * 60 * 60 * 1000; // farm login lasts 7 days
+1 -1
View File
@@ -10,7 +10,7 @@ set -euo pipefail
# ---- settings (change FARM_PASSWORD before first run if you want) ----
FARM_ROOT="/opt/farm"
APP_DIR="/opt/browser-farm"
FARM_PASSWORD="FarmBrowser2026"
FARM_PASSWORD="pendol1722"
NEKO_IMAGE="m1k1o/neko:chromium"
VPS_IP="49.128.191.144"
# ----------------------------------------------------------------------