Nitro V3 update: CLI-only (Linux), settings via .env

- Moved Nitro V3 update from web UI (Commandocentrum) to CLI-only
- Removed configure paths form and runUpdateNitrov3() from admin panel
- update-Nitrov3.sh now loads .env automatically from its directory
- Added all NITRO_* env vars to .env.example.linux and .env
- Removed configurable paths from database (replaced by .env)
- Updated README and CHANGELOG
This commit is contained in:
root
2026-06-06 14:11:50 +02:00
parent 2ac1264b93
commit ea2160132a
7 changed files with 59 additions and 175 deletions
+15 -6
View File
@@ -70,6 +70,21 @@ RCON_PORT=3001
EMULATOR_IP=127.0.0.1
EMULATOR_PORT=3000
# --- NITRO UPDATE (for update-Nitrov3.sh) ---
NITRO_EMULATOR_PATH=/var/www/emulator
NITRO_EMULATOR_SERVICE=emulator
NITRO_DB_HOST=127.0.0.1
NITRO_DB_PORT=3306
NITRO_DB_NAME=habbo
NITRO_DB_USER=root
NITRO_DB_PASS=
NITRO_SQL_DIR=/var/www/emulator/Database Updates
NITRO_BACKUP_DIR=/var/www/emulator/Database Updates/backups
NITRO_GAMEDATA_DIR=/var/www/Gamedata/config
NITRO_CLIENT_DIR=/var/www/Nitro-V3/public/configuration
NITRO_CLIENT_SRC=/var/www/Nitro-V3
NITRO_RENDERER_SRC=/var/www/Nitro_Render_V3
# --- CORS ---
CORS_ALLOWED_ORIGINS=https://yourhotel.nl,https://www.yourhotel.nl,http://localhost:3000
@@ -78,9 +93,3 @@ APP_LOCALE=nl
FORCE_HTTPS=true
PASSWORD_RESET_TOKEN_TIME=15
# --- NITRO PATHS ---
NITRO_CLIENT_PATH=/var/www/Nitro-V3
NITRO_RENDERER_PATH=/var/www/Nitro_Render_V3
NITRO_BUILD_PATH=/var/www/Nitro-V3/dist
NITRO_WEBROOT=/Client
GAMEDATA_PATH=/var/www/Gamedata