d854020322
- Add docker-compose.yml with PostgreSQL 15 and Redis 7 - Add health checks for both services - Add optional dev tools (Adminer, RedisInsight) via 'tools' profile - Create .env.example with all configuration variables - Update README.md with Docker setup documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
821 B
Bash
31 lines
821 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://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
|
|
|
|
# Redis Configuration
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_URL=redis://${REDIS_HOST}:${REDIS_PORT}
|
|
|
|
# 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=
|