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,
|
||||
sourceType: 'docker',
|
||||
registryId: config.registryId,
|
||||
memoryLimit: 2048,
|
||||
memoryReservation: 1024,
|
||||
cpuLimit: 2,
|
||||
cpuReservation: 0.5,
|
||||
memoryLimit: '2048',
|
||||
memoryReservation: '1024',
|
||||
cpuLimit: '2',
|
||||
cpuReservation: '0.5',
|
||||
});
|
||||
|
||||
state.progress = 55;
|
||||
|
||||
Reference in New Issue
Block a user