Microservice Command Arguments
Use single or double quotes to enclose special characters. For example:
docker run --rm -p 9900:9910 yolov4od-microservice --cors-allowed-origins '*' -l trace &
docker run --rm -p 9900:9910 yolov4od-microservice --cors-allowed-origins "*" -l trace &
Option | Description | Note |
---|---|---|
| Path to the deployable archive ( | Do not use this option when calling |
| Provide information about the external cache. | Specify CACHE in the format of
. |
| Optional key for the external cache. | None. |
-c,--config-file= muserve_config | Specify a configuration file located in
| Default file name is |
| Enable cross-origin resource sharing (CORS) and specify the domain origins that are allowed to access the server. | Specify |
--disable-control-c | Disable keyboard interruption for the server. | Default behavior is to enable keyboard interruption. |
--display,--no-display | Enable or disable X11 display for worker processes on UNIX® systems. | Default behavior is to disable display. |
--enable-discovery,--disable-discovery | Enable or disable access to the discovery API. | Default behavior is to enable access to the discovery API. |
--enable-http-pipelining,--disable-http-pipelining | Enable or disable parallel execution of pipelined requests. | Default behavior is to enable parallel pipeline execution. |
--enable-metrics,--disable-metrics | Enable or disable access to the metrics API. | Default behavior is to enable access to the metrics API. |
--endpoint-root
| Path to the folder containing server endpoint files. | By default, endpoint files are not generated. |
-h,--help | Display the microservice command line arguments and exit. | None. |
--hide-matlab-error-stack | Hide the MATLAB® error stack sent to clients. | Default behavior is to send the error stack. |
--http | HTTP interface port in the Docker® container. | Default port is 9910. |
--http-linger-threshold
| Amount of data the server discards after an HTTP error and before the server closes the TCP connection. | Specify |
--https | HTTPS interface port in the Docker container. Use this option to enable HTTPS. | Default behavior is to use HTTP. If you use this option, you
must also specify |
-l,--log-severity
| Level of detail at which to log information to
| Specify |
--log-format
| Text format for logs written to
| Specify |
--merge-worker-streams | Merge worker | Default behavior is to keep the streams separate. |
--pid-root | Path to folder containing PID files. | By default, PID files are not generated. |
| Enable or disable the logging of server profile information to
| Specify |
--request-size-limit
| Maximum allowed request size. | Specify |
--routes-file
| Path to the routes JSON file for instance-level web request handlers. | None. |
--ssl-allowed-client | Authorize clients to access the deployed archive (CTF file) based on the client certificate common name (CN). | Specify |
--ssl-ciphers
| List of SSL cipher suites used for encryption. | Specify
|
--ssl-protocols
| List of allowed SSL protocols. | Protocols supported: TLSv1, TLSv1.1, TLSv1.2. |
| Path to file containing a pregenerated ephemeral DH key. | None. |
| Name of elliptic curve used for ECDHE ciphers. | ECDHE ciphers are enabled by default. |
| Level of client verification required by the server. | Specify |
--use-single-comp-thread | Limit MATLAB to a single computational thread. | Default behavior is to use multithreading capabilities of the host computer. |
--user-data " | Associate MATLAB data value with a key. |
|
--worker-restart-interval
| Time interval at which a server stops and restarts its workers. Specify interval in the format [hour]:[minute]:[second].[millisecond]. | Default interval is 12:00:00. |
--worker-restart-memory-limit
| Size threshold at which the server considers restarting a worker. | Specify |
--worker-restart-memory-limit-interval
| Time interval for which a worker can exceed its memory limit before restarting. Specify interval in the format [hour]:[minute]:[second].[millisecond]. | None. |
--x509-ca-file-store
| Path to certificate authority (CA) file to verify peer certificates. | None. |
--x509-cert-chain
| Path to server certificate chain file in PEM format. | You must specify this property if you specify
--https . |
--x509-passphrase
| Path to file that contains the passphrase of the encrypted private key. | None. |
--x509-private-key
| Path to the private key. The key must be in PEM format. | You must specify this property if you specify
|
--x509-use-crl | Use the certificate revocation list (CRL) from the certificate authority store. | None. |
--x509-use-system-store | Use the operating system truststore. | None. |