docs(config): sync hints with current config schema

This commit is contained in:
2026-04-21 12:40:45 +00:00
parent 9f7308498c
commit 3e341bbfda
+12 -3
View File
@@ -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;
} }
``` ```