fix: corregir migraciones fallidas, redis doble carga y cache de assets

- Eliminar .env del tracking de git (credenciales no deben ir en repo)
- Agregar .env y .env.* al .dockerignore (no hornear credenciales en imagen)
- Quitar extension=redis.so duplicada en php.ini
- Activar cache 7d para assets estáticos en nginx
- Corregir 5 migraciones: eliminar INSERT INTO migrations con columna incorrecta
  y remover semicolons en comentarios -- que partian el parser SQL

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-23 19:24:41 -05:00
co-authored by Claude Sonnet 4.6
parent a39e94c71b
commit 1342d305ec
11 changed files with 12 additions and 131 deletions
-3
View File
@@ -10,6 +10,3 @@ ALTER TABLE `roles`
COMMENT 'Ruta de inicio al hacer login. NULL = usa reglas heredadas.'
AFTER `color`;
-- Registrar migración
INSERT IGNORE INTO migrations (migration, executed_at)
VALUES ('20260416_roles_home_page', NOW());