APP_NAME="AptRun"
APP_ENV=local
APP_KEY=base64:EaBnY7aDE3qUFxN0d5JAjnHqf6jio57WQ4+Qm0RSJI8=
APP_DEBUG=true
APP_URL=http://localhost
FRONTEND_URL=http://127.0.0.1:3000

# Real superadmin account — read by `php artisan superadmin:sync` (never
# hardcoded into a seeder/migration; see that command's docblock for why).
# Set these same two vars on the production host's env and run the same
# command there — this file is gitignored and never committed.
SUPERADMIN_EMAIL=priyanshu@mellowvault.com
SUPERADMIN_PASSWORD="Mellow@#1"

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database

# PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=codegen_box
DB_USERNAME=root
DB_PASSWORD=

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=database
# CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=predis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=c5eae776bd1216ef4e9e757b38870e65f0187c40f8e67a5c
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=support@mellowvault.com
MAIL_PASSWORD=oksfzvdhmtmxpaij
MAIL_SCHEME=smtps
MAIL_FROM_ADDRESS="support@mellowvault.com"
MAIL_FROM_NAME="AptRun"

WHATSAPP_PROVIDER=log
WHATSAPP_PHONE_NUMBER_ID=
WHATSAPP_ACCESS_TOKEN=

# Blank until you add a real key from https://aistudio.google.com/apikey —
# AI question generation gracefully reports "not configured" until then.
# gemini-2.5-flash was deprecated for new API keys (confirmed live,
# 2026-09-24). gemini-3.6-flash and even Google's own gemini-flash-latest
# alias were both returning 503 UNAVAILABLE ("high demand") at that same
# moment — gemini-3.1-flash-lite was the only tier confirmed actually
# responding; plenty capable for structured question generation. Bump this
# again if Google's availability shifts, no code change needed.
GEMINI_API_KEY=AQ.Ab8RN6K9KuRx1NFiLQ4MQtf9IEHi_UFCY5sA3zFbDz4YADpAnQ
GEMINI_MODEL=gemini-3.1-flash-lite

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"

# Self-hosted Piston (Judge0's own isolate sandbox segfaults on this host's
# WSL2 kernel; Piston's sandboxing works here). Container is started with:
#   docker run -d --privileged -p 2000:2000 -v piston_data:/piston \
#     -e PISTON_RUN_TIMEOUT=15000 -e PISTON_COMPILE_TIMEOUT=15000 \
#     -e PISTON_RUN_MEMORY_LIMIT=256000000 -e PISTON_COMPILE_MEMORY_LIMIT=256000000 \
#     --name piston_api --restart always ghcr.io/engineer-man/piston
PISTON_BASE_URL=http://localhost:2000

# --- Judge scale-out (added 2026-09-22; see docs/scaling-the-judge.md) -------------------
# Two Piston nodes from infra/judge (2 slots each = this laptop's 4 physical cores; see docs/scaling-the-judge.md §3).
PISTON_NODES=http://localhost:2001|2,http://localhost:2002|2
# Redis: queue on :6379 (noeviction, AOF), cache on :6380 (allkeys-lru) — infra/redis.
# Only used when a process runs with the redis drivers (see infra/local/judge-stack.ps1);
# plain `php artisan serve` keeps judging inline (APP_ENV=local => sync), no worker needed.
REDIS_CACHE_HOST=127.0.0.1
REDIS_CACHE_PORT=6380
# Queue-depth limits sized for THIS laptop (~1.3 verdicts/s x ~120s wait; see docs/scaling-the-judge.md §3).
# Only matters on the queue path (infra/local/judge-stack.ps1); inline mode never queues.
JUDGE_MAX_DEPTH_SUBMIT=160
JUDGE_MAX_DEPTH_RUN=160

FIREBASE_API_KEY="AIzaSyB354dKb9PhIGOqH3JW9apa1CuhdTORT-I"
FIREBASE_AUTH_DOMAIN="laravel-otp-9eebb.firebaseapp.com"
FIREBASE_PROJECT_ID="laravel-otp-9eebb"
FIREBASE_STORAGE_BUCKET="laravel-otp-9eebb.firebasestorage.app"
FIREBASE_MESSAGING_SENDER_ID="888879097102"
FIREBASE_APP_ID="1:888879097102:web:d8d145948ec528b20ee35f"
FIREBASE_MEASUREMENT_ID="G-CB63L5MR8G"
