Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 561 Bytes

File metadata and controls

30 lines (20 loc) · 561 Bytes

Overview

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.

Steps

  1. Install required dependencies for the plugin server:

    uv sync 
  2. Start the plugin server locally:

    fastapi dev app/main.py 
  3. Enable rest_plugin in server/config.yaml:

    plugins:
    - rest_plugin
  4. Point the dstack server to your plugin server:

    export DSTACK_PLUGIN_SERVICE_URI=http://127.0.0.1:8000