fix: eliminar REDIS_HOST hardcodeado 'redis' en todos los archivos

- docker-compose.prod.yml: REDIS_HOST=redis → ${REDIS_HOST:-127.0.0.1}
  eliminados servicios redis/worker/maintenance (usan Coolify/Supervisor)
- .env, .env.docker: REDIS_HOST=redis → 127.0.0.1 (fallback seguro)
- .env.example: actualizado con comentario de Coolify
- health.php: fallback 'redis' → '127.0.0.1'
- PHP files (RedisQueue, ConversationState, etc.) ya usaban getenv() correctamente
This commit is contained in:
Lizandro Guarnizo
2026-03-12 13:48:01 -05:00
parent d50abb3ff3
commit 30e38720e2
5 changed files with 43 additions and 108 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ try {
$health['checks']['redis'] = [
'status' => ((string)$ping === 'PONG' || $ping === true) ? 'ok' : 'error',
'host' => getenv('REDIS_HOST') ?: 'redis'
'host' => getenv('REDIS_HOST') ?: '127.0.0.1'
];
} catch (Exception $e) {
$health['checks']['redis'] = [