fix: use string values for memory/CPU limits (Dokploy API requirement)
This commit is contained in:
@@ -278,10 +278,10 @@ export class ProductionDeployer {
|
|||||||
dockerImage: config.dockerImage,
|
dockerImage: config.dockerImage,
|
||||||
sourceType: 'docker',
|
sourceType: 'docker',
|
||||||
registryId: config.registryId,
|
registryId: config.registryId,
|
||||||
memoryLimit: 2048,
|
memoryLimit: '2048',
|
||||||
memoryReservation: 1024,
|
memoryReservation: '1024',
|
||||||
cpuLimit: 2,
|
cpuLimit: '2',
|
||||||
cpuReservation: 0.5,
|
cpuReservation: '0.5',
|
||||||
});
|
});
|
||||||
|
|
||||||
state.progress = 55;
|
state.progress = 55;
|
||||||
|
|||||||
Reference in New Issue
Block a user