fix: use string values for memory/CPU limits (Dokploy API requirement)

This commit is contained in:
Oussama Douhou
2026-01-10 11:45:29 +01:00
parent 67069f3bda
commit f43f784ad4

View File

@@ -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;