docs(config): sync hints with current config schema
This commit is contained in:
+12
-3
@@ -111,12 +111,20 @@ interface IModelGridConfig {
|
|||||||
port: number; // Default: 8080
|
port: number; // Default: 8080
|
||||||
host: string; // Default: '0.0.0.0'
|
host: string; // Default: '0.0.0.0'
|
||||||
apiKeys: string[]; // Valid API keys
|
apiKeys: string[]; // Valid API keys
|
||||||
|
rateLimit?: number;
|
||||||
cors: boolean;
|
cors: boolean;
|
||||||
corsOrigins: string[];
|
corsOrigins: string[];
|
||||||
};
|
};
|
||||||
|
ui: {
|
||||||
|
enabled: boolean;
|
||||||
|
port: number; // Default: 8081
|
||||||
|
host: string; // Default: '0.0.0.0'
|
||||||
|
assetSource: 'bundle' | 'disk';
|
||||||
|
};
|
||||||
docker: {
|
docker: {
|
||||||
networkName: string; // Default: 'modelgrid'
|
networkName: string; // Default: 'modelgrid'
|
||||||
runtime: 'docker' | 'podman';
|
runtime: 'docker' | 'podman';
|
||||||
|
socketPath?: string;
|
||||||
};
|
};
|
||||||
gpus: {
|
gpus: {
|
||||||
autoDetect: boolean;
|
autoDetect: boolean;
|
||||||
@@ -124,11 +132,12 @@ interface IModelGridConfig {
|
|||||||
};
|
};
|
||||||
containers: IContainerConfig[];
|
containers: IContainerConfig[];
|
||||||
models: {
|
models: {
|
||||||
greenlistUrl: string;
|
registryUrl: string;
|
||||||
autoPull: boolean;
|
autoDeploy: boolean;
|
||||||
defaultContainer: string;
|
defaultEngine: 'vllm';
|
||||||
autoLoad: string[];
|
autoLoad: string[];
|
||||||
};
|
};
|
||||||
|
cluster: IClusterConfig;
|
||||||
checkInterval: number;
|
checkInterval: number;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user