# Dewemoji Production Env (Minimal, Coolify)
# Scope: only keys used by current code paths.
# Fill all `CHANGE_ME` values.

APP_NAME=Dewemoji
APP_ENV=production
APP_KEY=CHANGE_ME
APP_DEBUG=false
APP_URL=https://dewemoji.backoffice.biz.id

LOG_CHANNEL=stack
LOG_STACK=single
LOG_LEVEL=info

DB_CONNECTION=mysql
DB_HOST=CHANGE_ME
DB_PORT=3306
DB_DATABASE=CHANGE_ME
DB_USERNAME=CHANGE_ME
DB_PASSWORD=CHANGE_ME

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_PATH=/
SESSION_DOMAIN=.backoffice.biz.id
SESSION_SECURE_COOKIE=true
SESSION_SAME_SITE=lax

CACHE_STORE=database
QUEUE_CONNECTION=database

MAIL_MAILER=mailketing
MAIL_FROM_ADDRESS=hello@dewemoji.com
MAIL_FROM_NAME="Dwindi from Dewemoji"
MAILKETING_API_URL=https://api.mailketing.co.id/api/v1/send
MAILKETING_API_TOKEN=CHANGE_ME
MAILKETING_TIMEOUT=10

DEWEMOJI_DEFAULT_LIMIT=20
DEWEMOJI_MAX_LIMIT=50
DEWEMOJI_FREE_MAX_LIMIT=20
DEWEMOJI_PRO_MAX_LIMIT=50
DEWEMOJI_USD_RATE=15000

DEWEMOJI_BILLING_MODE=live
DEWEMOJI_ALLOWED_ORIGINS=https://dewemoji.backoffice.biz.id,https://dewemoji.com,https://www.dewemoji.com
DEWEMOJI_FRONTEND_HEADER=web-v1

DEWEMOJI_ADMIN_TOKEN=CHANGE_ME

DEWEMOJI_EXTENSION_IDS=jnmmlbcdihhjabhfhcljoppjjommnhfe
DEWEMOJI_GOOGLE_PROJECT_ID=dewemoji-api
DEWEMOJI_GOOGLE_SERVER_KEY=CHANGE_ME

DEWEMOJI_METRICS_ENABLED=true
DEWEMOJI_METRICS_TOKEN=CHANGE_ME
DEWEMOJI_METRICS_ALLOW_IPS=127.0.0.1,::1

DEWEMOJI_PAYPAL_ENABLED=true
DEWEMOJI_PAYPAL_TIMEOUT=10
DEWEMOJI_PAYPAL_LIVE_API_BASE=https://api-m.paypal.com
DEWEMOJI_PAYPAL_LIVE_WEB_BASE=https://www.paypal.com
DEWEMOJI_PAYPAL_LIVE_CLIENT_ID=CHANGE_ME
DEWEMOJI_PAYPAL_LIVE_CLIENT_SECRET=CHANGE_ME
DEWEMOJI_PAYPAL_LIVE_WEBHOOK_ID=CHANGE_ME
# Required if plan IDs are not saved in pricing_plans.meta.paypal.live.plan.id
DEWEMOJI_PAYPAL_LIVE_PLAN_PERSONAL_MONTHLY=CHANGE_ME
DEWEMOJI_PAYPAL_LIVE_PLAN_PERSONAL_ANNUAL=CHANGE_ME

DEWEMOJI_PAKASIR_ENABLED=true
DEWEMOJI_PAKASIR_API_BASE=https://app.pakasir.com
DEWEMOJI_PAKASIR_PROJECT=dewemoji
DEWEMOJI_PAKASIR_API_KEY=CHANGE_ME
DEWEMOJI_PAKASIR_TIMEOUT=10

# Optional (only if you want config fallback for admin settings page)
# DEWEMOJI_PUBLIC_ENFORCE=true
# DEWEMOJI_PUBLIC_ORIGINS=https://dewemoji.backoffice.biz.id,https://dewemoji.com,https://www.dewemoji.com
# DEWEMOJI_PUBLIC_HOURLY_LIMIT=5000
