b044bf25be
- Replace shell variable interpolation in .env.example with literal values, since .env files don't expand shell variables - Fix alembic/env.py to read DATABASE_URL instead of SQLALCHEMY_DATABASE_URL to match the app's environment variable convention Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
776 B
Bash
31 lines
776 B
Bash
# PostgreSQL Configuration
|
|
POSTGRES_HOST=localhost
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=polymarket_tracker
|
|
POSTGRES_USER=tracker
|
|
POSTGRES_PASSWORD=dev_password
|
|
|
|
# Constructed database URL (for application use)
|
|
DATABASE_URL=postgresql://tracker:dev_password@localhost:5432/polymarket_tracker
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# Optional: Development tool ports
|
|
ADMINER_PORT=8080
|
|
REDIS_INSIGHT_PORT=5540
|
|
|
|
# Polygon RPC Configuration
|
|
POLYGON_RPC_URL=https://polygon-rpc.com
|
|
POLYGON_FALLBACK_RPC_URL=https://polygon-bor.publicnode.com
|
|
|
|
# Polymarket API Configuration
|
|
POLYMARKET_WS_URL=wss://ws-subscriptions-clob.polymarket.com/ws/market
|
|
|
|
# Alert Webhooks (optional)
|
|
DISCORD_WEBHOOK_URL=
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|