{
  "name": "stock-bot",
  "version": "1.0.0",
  "debug": false,
  "service": {
    "name": "stock-bot-service",
    "port": 3000,
    "host": "0.0.0.0",
    "healthCheckPath": "/health",
    "metricsPath": "/metrics",
    "shutdownTimeout": 30000,
    "cors": {
      "enabled": true,
      "origin": "*",
      "credentials": true
    }
  },
  "logging": {
    "level": "info",
    "format": "json",
    "loki": {
      "enabled": false,
      "host": "localhost",
      "port": 3100,
      "labels": {}
    }
  },
  "database": {
    "postgres": {
      "host": "localhost",
      "port": 5432,
      "database": "stockbot",
      "user": "postgres",
      "password": "postgres",
      "ssl": false,
      "poolSize": 10,
      "connectionTimeout": 30000,
      "idleTimeout": 10000
    },
    "questdb": {
      "host": "localhost",
      "ilpPort": 9009,
      "httpPort": 9000,
      "pgPort": 8812,
      "database": "questdb",
      "user": "admin",
      "password": "quest",
      "bufferSize": 65536,
      "flushInterval": 1000
    },
    "mongodb": {
      "host": "localhost",
      "port": 27017,
      "database": "stockbot",
      "authSource": "admin",
      "poolSize": 10
    },
    "dragonfly": {
      "host": "localhost",
      "port": 6379,
      "db": 0,
      "maxRetries": 3,
      "retryDelay": 100
    }
  },
  "queue": {
    "redis": {
      "host": "localhost",
      "port": 6379,
      "db": 0
    },
    "defaultJobOptions": {
      "attempts": 3,
      "backoff": {
        "type": "exponential",
        "delay": 1000
      },
      "removeOnComplete": 100,
      "removeOnFail": 100
    }
  },
  "http": {
    "timeout": 30000,
    "retries": 3,
    "retryDelay": 1000,
    "proxy": {
      "enabled": false
    }
  },
  "webshare": {
    "apiKey": "",
    "apiUrl": "https://proxy.webshare.io/api/v2/"
  }
}
