# Docker Compose - copy to .env in this directory (repo root) # Then: docker-compose up -d # PostgreSQL (used by postgres service and DATABASE_URL for backend) DATABASE_URL=postgresql://postgres@localhost:5432/crypto_wallet DATABASE_PASSWORD=Japhni81! POSTGRES_USER=postgres POSTGRES_PASSWORD=Japhni81! POSTGRES_DB=crypto_wallet POSTGRES_PORT=5432 PGBOUNCER_PORT=6432 REDIS_PORT=6379 WS_PORT=4001 WORKER_ID=worker-1 # Backend BACKEND_PORT=4000 JWT_SECRET=36763979244226452948404D635166546A576D5A7134743777217A25432A462D # One-time first-admin setup (used on /setup until an administrator exists) INITIAL_SETUP_TOKEN=36763979244226452948404D635166546A576D5A7134743777217A25432A462ED JWT_ACCESS_EXPIRY=15m JWT_REFRESH_EXPIRY=7d # Required: 32-byte hex (64 chars) for AES-256 encryption ENCRYPTION_KEY=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef # Required: BIP39 mnemonic (24 words) for HD wallet - keep secret PLATFORM_MNEMONIC=world access act denial panther slab target snap frequent loyal pigeon soldier angry vanish reduce tomato praise educate convince copper mistake truck ordinary pelican # Blockchain — testnet (development) TRON_NODE_URL=https://api.shasta.trongrid.io TRON_API_KEY= TRON_CONFIRMATIONS=3 USDT_TRC20_CONTRACT=TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs POLYGON_RPC_URL=https://rpc-amoy.polygon.technology USDC_POLYGON_CONTRACT=0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582 POLYGON_CONFIRMATIONS=8 ALLOW_WITHDRAWALS=false RATE_LIMIT_MAX=2000 # =============================== # Backend - Mailer configuration # =============================== APP_PUBLIC_URL=https://prediqo.redirectme.net:9443 EMAIL_TRANSPORT=smtp # ou console en dev SMTP_HOST=smtp.gmail.com SMTP_USER=japhni81@gmail.com SMTP_PASS=qsosxqrtoaoydcdf EMAIL_FROM=noreply@prediqo.com VERIFY_EMAIL_PATH=/verify-email RESET_PASSWORD_PATH=/reset-password PASSWORD_RESET_EXPIRY_HOURS=1 # =============================== # Prediqo — ports dédiés (indépendant des autres apps du VPS) # =============================== # HTTP 9080 → redirige vers HTTPS 9443 une fois le certificat obtenu PREDIQO_HTTP_PORT=9080 PREDIQO_HTTPS_PORT=9443 # =============================== # Public domain # =============================== CERTBOT_EMAIL=japhni81@gmail.com CERTBOT_DOMAIN1=prediqo.redirectme.net # Frontend build-time URLs (HTTPS port 9443 — rebuild après changement) VITE_API_BASE_URL=https://prediqo.redirectme.net:9443 VITE_WS_ENABLED=true VITE_WS_URL=wss://prediqo.redirectme.net:9443/ws/v1/games/candle-predict # =============================== # Phase B — Docker Compose stack # =============================== # Host PostgreSQL (containers connect via host.docker.internal) # Stop local PG only if using: docker compose --profile docker-db up -d REDIS_URL=redis://localhost:6379 REDIS_ENABLED=true REDIS_ROUND_CACHE=true BET_ASYNC=true ENGINE_ENABLED=false WS_ENABLED=true WS_PORT=4001 WS_PATH=/ws/v1/games/candle-predict BACKEND_PORT=4000