Skip to content

Configuration docs reference env vars that don't exist in code #20

Description

@jtdub

Problem

docs/getting-started/configuration.md describes environment variables like CORS_ORIGINS, LOG_LEVEL, WORKERS, and other settings for configuring the application. However, the code does not read any environment variables — CORS origins, host, port, and all other settings are hardcoded in main.py.

This misleads users into thinking they can configure the app via environment variables when they actually cannot.

Suggested Fix

Either:

  • Implement environment variable support using pydantic-settings (which is already a dependency), or
  • Update the configuration docs to reflect the actual state of the code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions