From fe0e61fa0166fc97f79a6e8016167e331c0247e1 Mon Sep 17 00:00:00 2001 From: Edward Ly Date: Wed, 13 Nov 2024 11:26:49 -0800 Subject: [PATCH] fix(developer): update app_api:daemon:register command options Signed-off-by: Edward Ly --- .../exapp_development/tech_details/Deployment.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/developer_manual/exapp_development/tech_details/Deployment.rst b/developer_manual/exapp_development/tech_details/Deployment.rst index 6ece71ed6..21e6939d8 100644 --- a/developer_manual/exapp_development/tech_details/Deployment.rst +++ b/developer_manual/exapp_development/tech_details/Deployment.rst @@ -28,7 +28,7 @@ This can be done by the ``occ`` **app_api:daemon:register** command: .. code-block:: bash - app_api:daemon:register [--net NET] [--haproxy_password PASSWORD] [--] + app_api:daemon:register [--net NET] [--haproxy_password PASSWORD] [--compute_device DEVICE] [--set-default] [--] Arguments ********* @@ -44,8 +44,9 @@ Options ******* * ``--net [network-name]`` - ``[required]`` network name to bind docker container to (default: ``host``) - * ``--haproxy_password PASSWORD`` - ``[optional]`` password if ``AppAPI Docker Socket Proxy`` is used - * ``--gpu`` - ``[optional]`` GPU device to expose to the daemon (e.g. ``/dev/dri``) + * ``--haproxy_password PASSWORD`` - ``[optional]`` password for HAProxy Basic auth if ``AppAPI Docker Socket Proxy`` is used + * ``--compute_device DEVICE`` - ``[optional]`` GPU device to expose to the daemon (defaults to ``cpu``, but ``cuda`` and ``rocm`` are also supported) + * ``--set-default`` - ``[optional]`` sets the newly created daemon as the default .. note:: Common configurations are tested by the CI in our repository, see `workflows on GitHub `_.