If you wish to hook up your own plugin server through dstack builtin rest_plugin, here's a basic example on how to do so.
-
Install the plugin server:
uv pip install examples/plugins/example_plugin_server
-
Start the plugin server:
python -m example_plugin_server.main
-
Enable
rest_plugininserver/config.yaml:plugins: - rest_plugin
-
Point the
dstackserver to your plugin server:export DSTACK_PLUGIN_SERVICE_URI=http://127.0.0.1:8000