mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-22 20:22:27 +00:00
LLAMASTACK_PORT
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
cb7f1afd2d
commit
9941dc8587
2 changed files with 2 additions and 2 deletions
|
|
@ -242,7 +242,7 @@ def main():
|
|||
parser.add_argument(
|
||||
"--port",
|
||||
type=int,
|
||||
default=int(os.getenv("LLAMA_STACK_PORT", 5000)),
|
||||
default=int(os.getenv("LLAMASTACK_PORT", 5000)),
|
||||
help="Port to listen on",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ $DOCKER_BINARY run $DOCKER_OPTS -it \
|
|||
$env_vars \
|
||||
-v "$yaml_config:/app/config.yaml" \
|
||||
$mounts \
|
||||
--env LLAMA_STACK_PORT=$port \
|
||||
--env LLAMASTACK_PORT=$port \
|
||||
--entrypoint='["python", "-m", "llama_stack.distribution.server.server", "--yaml-config", "/app/config.yaml"]' \
|
||||
$docker_image:$version_tag
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue