Allow the environment setup without loading the database (settings provider) first (#823)
This commit is contained in:
parent
321d00c89e
commit
59b50ca75e
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@ APP_THEME=pterodactyl
|
||||||
APP_TIMEZONE=America/New_York
|
APP_TIMEZONE=America/New_York
|
||||||
APP_CLEAR_TASKLOG=720
|
APP_CLEAR_TASKLOG=720
|
||||||
APP_DELETE_MINUTES=10
|
APP_DELETE_MINUTES=10
|
||||||
|
APP_ENVIRONMENT_ONLY=true
|
||||||
APP_URL=
|
APP_URL=
|
||||||
|
|
||||||
DB_HOST=127.0.0.1
|
DB_HOST=127.0.0.1
|
||||||
|
@ -13,7 +14,7 @@ DB_DATABASE=panel
|
||||||
DB_USERNAME=pterodactyl
|
DB_USERNAME=pterodactyl
|
||||||
DB_PASSWORD=
|
DB_PASSWORD=
|
||||||
|
|
||||||
CACHE_DRIVER=
|
CACHE_DRIVER=file
|
||||||
SESSION_DRIVER=
|
SESSION_DRIVER=
|
||||||
|
|
||||||
HASHIDS_SALT=
|
HASHIDS_SALT=
|
||||||
|
|
|
@ -135,6 +135,8 @@ class AppSettingsCommand extends Command
|
||||||
self::ALLOWED_QUEUE_DRIVERS,
|
self::ALLOWED_QUEUE_DRIVERS,
|
||||||
array_key_exists($selected, self::ALLOWED_QUEUE_DRIVERS) ? $selected : null
|
array_key_exists($selected, self::ALLOWED_QUEUE_DRIVERS) ? $selected : null
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->variables['APP_ENVIRONMENT_ONLY'] = false;
|
||||||
|
|
||||||
$this->checkForRedis();
|
$this->checkForRedis();
|
||||||
$this->writeToEnvironment($this->variables);
|
$this->writeToEnvironment($this->variables);
|
||||||
|
|
Loading…
Reference in a new issue