Files
ladill-frontdesk/.env.example
T
isaaccladandCursor 9707b47cdd
Deploy Ladill Frontdesk / deploy (push) Successful in 2m38s
Reseed demo tenants after each SSO login.
Demo Free/Pro/Enterprise accounts wipe and reload sample data on
authorization-code SSO callbacks so every sales walkthrough starts clean.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 11:19:21 +00:00

72 lines
1.9 KiB
Bash

APP_NAME="Ladill Frontdesk"
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://frontdesk.ladill.com
PLATFORM_URL=https://ladill.com
PLATFORM_DOMAIN=ladill.com
LOG_CHANNEL=stack
LOG_LEVEL=error
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ladill_frontdesk
DB_USERNAME=ladill_frontdesk
DB_PASSWORD=
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
SESSION_DRIVER=redis
# Idle web session length in minutes (1440 = 24 hours of inactivity).
SESSION_LIFETIME=1440
CACHE_STORE=redis
QUEUE_CONNECTION=database
# Ladill Queue service API (in-app service queue console)
QUEUE_API_URL=https://queue.ladill.com/api/v1
QUEUE_API_KEY_FRONTDESK=
# --- Ladill SSO (Sign in with Ladill — auth.ladill.com OIDC client) ---
LADILL_SSO_CLIENT_ID=
LADILL_SSO_CLIENT_SECRET=
# --- Platform APIs this app consumes (per-consumer service keys) ---
BILLING_API_URL=https://ladill.com/api/billing
BILLING_API_KEY_FRONTDESK=
IDENTITY_API_URL=https://ladill.com/api
IDENTITY_API_KEY_FRONTDESK=
# Per-customer Ladill SMS / Bird relay (host alert integrations)
SMS_CUSTOMER_RELAY_URL=https://ladill.com/api/sms
SMTP_CUSTOMER_RELAY_URL=https://ladill.com/api/smtp
# Afia AI assistant (uses platform relay via IDENTITY_API_KEY when AFIA_API_KEY is unset)
AFIA_ENABLED=true
# AFIA_API_KEY=
# AFIA_PLATFORM_API_URL=https://ladill.com/api
# AFIA_PLATFORM_API_KEY=
# Platform events webhook (user/org lifecycle from the monolith)
SERVICE_EVENTS_INBOUND_SECRET=
# Suite demo accounts (sales walkthroughs) — reset Frontdesk data on each SSO login
DEMO_ACCOUNTS_ENABLED=false
DEMO_RESET_ON_LOGIN=true
# --- Inbound service API keys (sibling Ladill apps calling Frontdesk) ---
FRONTDESK_API_KEY_POS=
FRONTDESK_API_KEY_CRM=
FRONTDESK_API_KEY_CARE=
FRONTDESK_API_KEY_LAB=
# Optional: platform DB read for SSO user resolution (same host as monolith)
# PLATFORM_DB_DATABASE=ladilldb
# PLATFORM_DB_USERNAME=
# PLATFORM_DB_PASSWORD=