Files
ladill-link/.env.example
T
isaaccladandCursor 344bf76391
Deploy Ladill Link / deploy (push) Successful in 39s
Add GeoIP country fallback for link click analytics.
Resolve countries from CDN headers first, then MaxMind GeoLite2 via visitor IP, with an artisan command to download and refresh the database.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 23:36:01 +00:00

61 lines
1.3 KiB
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
EVENTS_DOMAIN=events.ladill.com
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ladill_link
DB_USERNAME=ladill_link
DB_PASSWORD=
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# 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=redis
# Idle web session length in minutes (1440 = 24 hours of inactivity).
SESSION_LIFETIME=1440
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
# Country analytics: MaxMind GeoLite2 (free account at https://www.maxmind.com/en/geolite2/signup)
MAXMIND_ACCOUNT_ID=
MAXMIND_LICENSE_KEY=
LINK_GEOIP_DATABASE=
AFIA_ENABLED=true
AFIA_PRODUCT=link
AFIA_PROVIDER=openai
AFIA_MODEL=gpt-4o-mini
AFIA_API_KEY=
VITE_APP_NAME="${APP_NAME}"