@@ -28,7 +28,7 @@ To configure the CLI, see [Configuration](langstream-cli-configuration.md).
28
28
| download | Download LangStream application code | Example: langstream apps download myapp -o /myfile.zip |
29
29
| update | Update an existing application | Example: langstream apps update my-app-id --app “./my-app-files” --i “./instances.yaml” --s “./secrets.yaml” |
30
30
| logs | Get application logs | Example: langstream apps logs my-app-id -f “some-app-worker, another-app-worker” |
31
- | ui | Start the UI for the application | Example: langstream apps ui my-app-id |
31
+ | ui | Start the UI for the application | Example: langstream apps ui my-app-id --port="8092" (if set to 0, a random port will be used) |
32
32
33
33
## configure
34
34
@@ -49,7 +49,7 @@ Configuration is deprecated. Use [langstream profiles](langstream-cli-commands.m
49
49
` docker run ` is a command with no subcommands, so this table has arguments that are passed to the ` docker run ` command.
50
50
{% endhint %}
51
51
52
- | Arguments | Description | Example |
52
+ | Arguments | Description | Example |
53
53
| ------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------- |
54
54
| --application, -app | Application directory path | Example: --application="./app-files" Path where the application files are located. Required. |
55
55
| --instance, -i | Instance file path | Example: --instance="./instance.yaml" Optional; path to the instance file. |
@@ -62,8 +62,9 @@ Configuration is deprecated. Use [langstream profiles](langstream-cli-commands.m
62
62
| --secrets, -s | Secrets file path | Example: --secrets="./secrets.yaml" Optional; path to the secrets file. |
63
63
| --memory | Memory for Docker | Example: --memory="4G" Memory allocated to the Docker container. |
64
64
| --cpus | CPU for Docker | Example: --cpus="2" CPU cores allocated to the Docker container. |
65
- | --docker-args | Additional Docker arguments | Example: --docker-args "--add-host=example.com:192.168.1.10" Additional arguments to pass to Docker. |
66
- | --docker-command | Command to run Docker | Example: --docker-command="docker-compose" Command used to run |
65
+ | --docker-args | Additional Docker arguments | Example: --docker-args "--add-host=example.com:192.168.1.10" |
66
+ | --docker-command | Command to run Docker | Example: --docker-command="docker-compose" |
67
+ | --ui-port, -up | Port for the local webserver and UI. If 0, a random port is used. | Example: --ui-port="8092" |
67
68
68
69
## gateway
69
70
0 commit comments