Fix: Solucionados problemas de permisos en Docker y agregada gestion de Webhook de Telegram
This commit is contained in:
44
docker-compose.prod.yml
Normal file
44
docker-compose.prod.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
app:
|
||||
image: registry-pons.duckdns.org/nomina-ventas:latest
|
||||
container_name: nomina_app
|
||||
ports:
|
||||
- "8004:80"
|
||||
volumes:
|
||||
- /media/DATOS/AppData/nomina_pegaso/storage:/var/www/html/storage
|
||||
- /media/DATOS/AppData/nomina_pegaso/bootstrap/cache:/var/www/html/bootstrap/cache
|
||||
environment:
|
||||
- APP_NAME=Nomina Ventas
|
||||
- APP_ENV=production
|
||||
- APP_DEBUG=true
|
||||
- APP_KEY=
|
||||
- APP_URL=https://nomina-pegaso.duckdns.org
|
||||
- APP_LOCALE=es
|
||||
- APP_FALLBACK_LOCALE=es
|
||||
- BCRYPT_ROUNDS=12
|
||||
- LOG_CHANNEL=stack
|
||||
- LOG_LEVEL=debug
|
||||
- DB_CONNECTION=mysql
|
||||
- DB_HOST=10.10.4.17
|
||||
- DB_PORT=3390
|
||||
- DB_DATABASE=nomina_pegaso
|
||||
- DB_USERNAME=nickpons666
|
||||
- DB_PASSWORD=MiPo6425@@
|
||||
- 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_TOKEN=8324407449:AAF2awMeZ9pgSIp0MvV1r5owu8lO7SEK70E
|
||||
- TELEGRAM_WEBHOOK_URL=
|
||||
- RUN_MIGRATIONS=false
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
Reference in New Issue
Block a user