Skip to main content

core.medpluminfraconfig.workerservices

Home > @medplum/core > MedplumInfraConfig > workerServices

MedplumInfraConfig.workerServices property

Signature:

workerServices?: {
id: string;
serverImage?: string;
serverMemory?: number;
serverCpu?: number;
desiredCount: number;
environment?: StringMap;
workers?: {
enabled?: string[];
bullmq?: Record<string, unknown>;
};
fargateAutoScaling?: {
minCapacity: number;
maxCapacity: number;
targetUtilizationPercent: number;
scaleInCooldown: number;
scaleOutCooldown: number;
};
additionalContainers?: {
name: string;
image: string;
cpu?: number;
memory?: number;
essential?: boolean;
command?: string[];
environment?: {
[key: string]: string;
};
}[];
}[];