llama-stack-mirror/llama_stack/distribution/server
grs b8f7e1504d
feat: allow the interface on which the server will listen to be configured (#2015)
# What does this PR do?

It may not always be desirable to listen on all interfaces, which is the
default. As an example, by listening instead only on a loopback
interface, the server cannot be reached except from within the host it
is run on. This PR makes this configurable, through a CLI option, an env
var or an entry on the config file.

## Test Plan

I ran a server with and without the added CLI argument to verify that
the argument is used if provided, but the default is as it was before if
not.

Signed-off-by: Gordon Sim <gsim@redhat.com>
2025-05-16 12:59:31 -07:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
auth.py feat: Add Kubernetes authentication (#1778) 2025-04-28 22:24:58 +02:00
auth_providers.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
endpoints.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
server.py feat: allow the interface on which the server will listen to be configured (#2015) 2025-05-16 12:59:31 -07:00