NAME

Langertha::Knarr::CLI::Cmd::Container - Auto-start Knarr from environment variables (Docker mode)

VERSION

version 0.004

DESCRIPTION

Implements the knarr container command — the entry point used by the official Docker image. If a config file exists at the default path (./knarr.yaml or as specified with -c), it is loaded normally. Otherwise the config is built automatically from environment variables via "from_env" in Langertha::Knarr::Config (TEST_* keys are ignored in this mode).

The server always listens on 0.0.0.0:8080 (OpenAI/Anthropic) and 0.0.0.0:11434 (Ollama), suitable for a container environment. A startup summary is printed to stderr showing detected engines, passthrough state, and Langfuse status.

See knarr for option details and Langertha::Knarr for Docker usage examples and environment variable reference.

SEE ALSO

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha-knarr/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.