alwaysai
Version:
The alwaysAI command-line interface (CLI)
17 lines • 733 B
TypeScript
import { TargetHardware } from './get-target-hardware-type';
/**
* Updates `docker-compose.yaml` based on the target hardware
*
* Since it is not known in advance which services contain alwaysAI apps
* (although the default alwaysAI service is called "alwaysai") any service with
* a build section will be updated based on target hardware changes. Changes
* include the BUILD_ARG, runtime, and volumes.
*
* If the target hardware configured in the `docker-compose.yaml` file is the
* same as the new one, no updates are made.
*/
export declare function updateDockerComposeTargetHw(opts: {
targetHardware: TargetHardware;
cwd?: string;
}): Promise<void>;
//# sourceMappingURL=update-docker-compose-target-hw.d.ts.map