mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Refactor migration to move Redis password to environment variables
This commit is contained in:
parent
a88829eaec
commit
8806ec6c59
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ class MoveRedisPasswordToEnvs extends Migration
|
|||
try {
|
||||
StandaloneRedis::chunkById(100, function ($redisInstances) {
|
||||
foreach ($redisInstances as $redis) {
|
||||
loggy('Moving Redis password to envs', ['redis_id' => $redis->id,'redis_password' => $redis->redis_password]);
|
||||
EnvironmentVariable::create([
|
||||
'standalone_redis_id' => $redis->id,
|
||||
'key' => 'REDIS_PASSWORD',
|
||||
|
|
|
|||
Loading…
Reference in a new issue