mirror of https://github.com/dapr/docs.git
update cli run example
Signed-off-by: Long <long.dai@intel.com>
This commit is contained in:
parent
5a6f3b8cea
commit
735d24bff6
|
@ -38,6 +38,7 @@ dapr run [flags] [command]
|
|||
| `--log-level` | | `info` | The log verbosity. Valid values are: `debug`, `info`, `warn`, `error`, `fatal`, or `panic` |
|
||||
| `--placement-host-address` | `DAPR_PLACEMENT_HOST` | `localhost` | The address of the placement service. Format is either `<hostname>` for default port (`6050` on Windows, `50005` on Linux/MacOS) or `<hostname>:<port>` for custom port |
|
||||
| `--profile-port` | | `7777` | The port for the profile server to listen on |
|
||||
| `--unix-domain-socket`, `-u` | | `/tmp/dapr-APPID-[http|grpc].socket` | The socket path to listen on |
|
||||
| `--dapr-http-max-request-size` | | `4` | Max size of request body in MB.|
|
||||
|
||||
## Examples
|
||||
|
@ -71,3 +72,9 @@ dapr run --app-id myapp -- python myapp.py
|
|||
```bash
|
||||
dapr run --app-id myapp
|
||||
```
|
||||
|
||||
### Run a .Net application with socket
|
||||
|
||||
```bash
|
||||
dapr run --app-id myapp --app-port 5000 --enable-unix-socket -- dotnet run
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue