fetch_ml/docs/src/configuration-schema.md
Jeremie Fraeys 385d2cf386 docs: add comprehensive documentation with MkDocs site
- Add complete API documentation and architecture guides
- Include quick start, installation, and deployment guides
- Add troubleshooting and security documentation
- Include CLI reference and configuration schema docs
- Add production monitoring and operations guides
- Implement MkDocs configuration with search functionality
- Include comprehensive user and developer documentation

Provides complete documentation for users and developers
covering all aspects of the FetchML platform.
2025-12-04 16:54:57 -05:00

1 KiB

Configuration Schema

Complete reference for Fetch ML configuration options.

Configuration File Structure

Fetch ML uses YAML configuration files. The main configuration file is typically config.yaml.

Full Schema

# Server Configuration
server:
  address: ":9101"
  tls:
    enabled: false
    cert_file: ""
    key_file: ""

# Database Configuration
database:
  type: "sqlite"  # sqlite, postgres, mysql
  connection: "fetch_ml.db"
  host: "localhost"
  port: 5432
  username: "postgres"
  password: ""
  database: "fetch_ml"

# Redis Configuration


## Quick Reference

### Database Types
- **SQLite**: `type: sqlite, connection: file.db`
- **PostgreSQL**: `type: postgres, host: localhost, port: 5432`

### Key Settings
- `server.address: :9101`
- `database.type: sqlite`
- `redis.addr: localhost:6379`
- `auth.enabled: true`
- `logging.level: info`

### Environment Override
```bash
export FETCHML_SERVER_ADDRESS=:8080
export FETCHML_DATABASE_TYPE=postgres

Validation

make configlint