Files
ladill-link/.env.example
T
isaaccladandCursor 29993040bd
Deploy Ladill Link / deploy (push) Successful in 58s
Read Afia AI credentials from platform admin settings.
Link Afia now resolves provider, model, and API keys from ladilldb.platform_settings like the monolith, with .env fallbacks for local dev.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 14:34:43 +00:00

49 lines
993 B
Bash

APP_NAME="Ladill Link"
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://link.ladill.com
PLATFORM_URL=https://ladill.com
PLATFORM_DOMAIN=ladill.com
AUTH_DOMAIN=auth.ladill.com
ACCOUNT_DOMAIN=account.ladill.com
LINK_PUBLIC_DOMAIN=ladl.link
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ladill_link
DB_USERNAME=ladill_link
DB_PASSWORD=
# Read platform admin settings (AI + Paystack keys from ladilldb.platform_settings).
PLATFORM_DB_HOST=127.0.0.1
PLATFORM_DB_PORT=3306
PLATFORM_DB_DATABASE=ladilldb
PLATFORM_DB_USERNAME=ladill_link
PLATFORM_DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_DOMAIN=.ladill.com
LADILL_SSO_CLIENT_ID=
LADILL_SSO_CLIENT_SECRET=
BILLING_API_URL=https://ladill.com/api/billing
BILLING_API_KEY_LINK=
IDENTITY_API_URL=https://ladill.com/api
IDENTITY_API_KEY_LINK=
LINK_PRICE_PER_LINK_GHS=0.05
AFIA_ENABLED=true
AFIA_PRODUCT=link
AFIA_PROVIDER=openai
AFIA_MODEL=gpt-4o-mini
AFIA_API_KEY=
VITE_APP_NAME="${APP_NAME}"