Skip to main content
Glama
jjsteffen23

CME Prediction Markets MCP Server

by jjsteffen23
docker-compose.prod.yml2.63 kB
version: '3.8' services: # Main application mcp-server: build: . ports: - "8080:8080" environment: - DATABASE_URL=postgresql://mcp_user:${DB_PASSWORD}@postgres:5432/mcp_db - REDIS_URL=redis://redis:6379/0 - LOG_LEVEL=INFO - WORKERS=4 depends_on: - postgres - redis restart: unless-stopped deploy: resources: limits: cpus: '2.0' memory: 2G reservations: cpus: '1.0' memory: 1G healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health/"] interval: 30s timeout: 10s retries: 3 # Database postgres: image: timescale/timescaledb:latest-pg15 environment: - POSTGRES_DB=mcp_db - POSTGRES_USER=mcp_user - POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_INITDB_ARGS="--encoding=UTF-8 --locale=C" volumes: - postgres_data:/var/lib/postgresql/data - ./scripts/init_prod_db.sql:/docker-entrypoint-initdb.d/init.sql ports: - "5432:5432" restart: unless-stopped deploy: resources: limits: cpus: '2.0' memory: 4G reservations: cpus: '1.0' memory: 2G # Redis cache redis: image: redis:7-alpine ports: - "6379:6379" volumes: - redis_data:/data restart: unless-stopped command: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy allkeys-lru deploy: resources: limits: cpus: '0.5' memory: 512M # Load balancer (production) nginx: image: nginx:alpine ports: - "80:80" - "443:443" volumes: - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx/ssl:/etc/nginx/ssl:ro depends_on: - mcp-server restart: unless-stopped # Monitoring prometheus: image: prom/prometheus ports: - "9090:9090" volumes: - ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro - prometheus_data:/prometheus command: - '--config.file=/etc/prometheus/prometheus.yml' - '--storage.tsdb.path=/prometheus' - '--web.console.libraries=/etc/prometheus/console_libraries' - '--web.console.templates=/etc/prometheus/consoles' grafana: image: grafana/grafana ports: - "3000:3000" volumes: - grafana_data:/var/lib/grafana - ./monitoring/grafana/dashboards:/var/lib/grafana/dashboards environment: - GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD} volumes: postgres_data: redis_data: prometheus_data: grafana_data:

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jjsteffen23/dk_mcp_2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server