Fix: Solucionados problemas de permisos en Docker y agregada gestion de Webhook de Telegram

This commit is contained in:
2026-04-19 19:23:25 -06:00
parent 249c997257
commit c4bd4b62e3
13 changed files with 615 additions and 98 deletions

45
.env.docker Normal file
View File

@@ -0,0 +1,45 @@
# Variables de entorno para Docker
# Copiar a .env y completar los valores faltantes
APP_NAME="Nomina Ventas"
APP_ENV=production
APP_DEBUG=false
APP_KEY=
APP_URL=http://localhost:8004
APP_LOCALE=es
APP_FALLBACK_LOCALE=es
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_LEVEL=debug
# Base de datos REMOTA
DB_CONNECTION=mysql
DB_HOST=10.10.4.17
DB_PORT=3391
DB_DATABASE=nomina_pegaso
DB_USERNAME=nickpons666
DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=true
SESSION_PATH=/
SESSION_DOMAIN=
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# Telegram Bot (opcional)
TELEGRAM_BOT_TOKEN=
TELEGRAM_WEBHOOK_URL=
# Docker Runtime
DATA_DIR=/media/DATOS/AppData/nomina_pegaso
APP_PORT=8004
RUN_MIGRATIONS=false