# Upload this as ".env" into /home/coiwclik/neuralhr/
#
# NOT into public_html. This file holds the database password; if it is ever
# reachable over HTTP the account is compromised.
#
# Generated for hrprimo.com/HR/. Change APP_KEY before anyone signs in if you
# would rather not use a key that has been sent over chat:
#
#     php artisan key:generate
#
# After that it must never change. It decrypts values already in the database,
# including SSO client secrets, so rotating it later orphans them.

APP_NAME="NeuralHR"
APP_ENV=production
APP_KEY=base64:lh3MbSAw800J09Dz0A4SzqgfSpACYjlohOJuA7SnLoQ=
APP_DEBUG=false
APP_URL=https://hrprimo.com/HR

APP_TIMEZONE=Asia/Manila
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_PH

APP_MAINTENANCE_DRIVER=file

# Warning and above only. Production logs should not be a transcript of every
# request, and this one lives on shared hosting.
LOG_CHANNEL=daily
LOG_LEVEL=warning
LOG_DAILY_DAYS=14

# localhost, not hrprimo.com. The application and the database are on the same
# machine, and going out through the public hostname will be refused.
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=coiwclik_neuralhr
DB_USERNAME=coiwclik
DB_PASSWORD=09204353341_Account

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=true
SESSION_PATH=/HR
SESSION_DOMAIN=null
SESSION_SECURE_COOKIE=true
SESSION_SAME_SITE=lax

FILESYSTEM_DISK=local

# Where public uploads (logos, sign-in backgrounds) are written.
#
# Pointed straight at the served folder, because the application lives outside
# public_html and the usual public/storage symlink would land somewhere the web
# server never looks. Create the folder before first use; see step 7.
FILESYSTEM_PUBLIC_ROOT=/home/coiwclik/public_html/HR/storage

# sync, not database: the queue only carries the password-reset email, and this
# avoids needing a second cron job. Change to "database" and add the worker cron
# if sending ever becomes slow enough to be felt.
QUEUE_CONNECTION=sync
CACHE_STORE=database

BROADCAST_CONNECTION=log

# Fill these in from cPanel, Email Accounts. Until then password-reset messages
# are written to the log and never sent.
MAIL_MAILER=log
MAIL_HOST=mail.hrprimo.com
MAIL_PORT=465
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS="noreply@hrprimo.com"
MAIL_FROM_NAME="${APP_NAME}"

# Absolute path, because cron runs with a different PATH from your shell and
# "mysqldump" alone is often not found. Check it with: which mysqldump
NEURALHR_MYSQLDUMP=/usr/bin/mysqldump
