44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
# Docker Compose - copy to .env in this directory (repo root)
|
||
# Then: docker-compose up -d
|
||
|
||
# PostgreSQL — doit être la MÊME base que Docker local si vous vous êtes inscrit via :9080
|
||
# (sinon le moniteur de dépôts affiche « 0 wallets » et ne crédite rien).
|
||
DATABASE_URL=postgresql://postgres@localhost:5432/games_platform_db
|
||
DATABASE_PASSWORD=Japhni81!
|
||
POSTGRES_USER=postgres
|
||
POSTGRES_DB=games_platform_db
|
||
POSTGRES_PORT=5432
|
||
|
||
# Backend seul (npm run dev:testnet) : pas de Redis Docker → désactiver pour éviter le spam de logs
|
||
REDIS_ENABLED=false
|
||
# Backend
|
||
BACKEND_PORT=4000
|
||
JWT_SECRET=36763979244226452948404D635166546A576D5A7134743777217A25432A462D
|
||
JWT_ACCESS_EXPIRY=15m
|
||
JWT_REFRESH_EXPIRY=7d
|
||
# Allow more login attempts during testnet (default is 5 per 15 min)
|
||
LOGIN_RATE_LIMIT_MAX=20
|
||
|
||
# Required: 32-byte hex (64 chars) for AES-256 encryption
|
||
ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
|
||
|
||
# Required: BIP39 mnemonic (24 words) for HD wallet - keep secret
|
||
# Doit correspondre à .env.docker si vous alternez Docker et dev:testnet (même adresses de dépôt).
|
||
PLATFORM_MNEMONIC=abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
|
||
# TRON Shasta testnet (test TRX and USDT)
|
||
TRON_NODE_URL=https://api.shasta.trongrid.io
|
||
# Use fewer confirmations on testnet so deposits credit quickly (mainnet .env uses 20)
|
||
TRON_CONFIRMATIONS=3
|
||
# Shasta testnet USDT (TRC20) – required to detect USDT deposits on testnet
|
||
USDT_TRC20_CONTRACT=TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs
|
||
|
||
# Polygon Amoy testnet (test USDC)
|
||
POLYGON_RPC_URL=https://rpc-amoy.polygon.technology
|
||
USDC_POLYGON_CONTRACT=0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582
|
||
# Fewer confirmations on testnet so USDC deposits credit quickly (mainnet uses 64)
|
||
POLYGON_CONFIRMATIONS=8
|
||
|
||
# Email verification
|
||
APP_PUBLIC_URL=http://localhost:5173
|
||
EMAIL_TRANSPORT=console
|