Docker: agregar servicio Redis para sesiones PHP

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-23 08:12:40 -05:00
co-authored by Claude Sonnet 4.6
parent 1c75da1ccd
commit 3490bc1932
+6 -4
View File
@@ -21,8 +21,7 @@ services:
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
# Redis gestionado por Coolify — configurar REDIS_HOST en env vars de Coolify
- REDIS_HOST=${REDIS_HOST:-127.0.0.1}
- REDIS_HOST=${REDIS_HOST:-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_PASSWORD=${REDIS_PASSWORD:-}
- WHATSAPP_TOKEN=${WHATSAPP_TOKEN}
@@ -72,8 +71,11 @@ services:
# start_period: 30s
# command: --default-authentication-plugin=mysql_native_password --max_connections=500
# Redis: gestionado como Database Resource en Coolify (externo)
# Worker: corre dentro del contenedor app vía Supervisor
redis:
image: redis:7-alpine
restart: unless-stopped
networks:
- coolify
volumes:
app-logs: