feat: production-ready deployment with multi-language UI
- Add multi-language support (NL, AR, EN) with RTL
- Improve health checks (SSL-tolerant, multi-endpoint)
- Add DELETE /api/stack/:name for cleanup
- Add persistent storage (portal-ai-workspace-{name})
- Improve rollback (delete domain, app, project)
- Increase SSE timeout to 255s
- Add deployment strategy documentation
This commit is contained in:
@@ -443,6 +443,36 @@ export class DokployProductionClient {
|
||||
);
|
||||
}
|
||||
|
||||
async deleteDomain(domainId: string): Promise<void> {
|
||||
await this.request(
|
||||
'POST',
|
||||
'/domain.delete',
|
||||
{ domainId },
|
||||
'domain',
|
||||
'delete'
|
||||
);
|
||||
}
|
||||
|
||||
async createMount(
|
||||
applicationId: string,
|
||||
volumeName: string,
|
||||
mountPath: string
|
||||
): Promise<{ mountId: string }> {
|
||||
return this.request<{ mountId: string }>(
|
||||
'POST',
|
||||
'/mounts.create',
|
||||
{
|
||||
type: 'volume',
|
||||
volumeName,
|
||||
mountPath,
|
||||
serviceId: applicationId,
|
||||
serviceType: 'application',
|
||||
},
|
||||
'mount',
|
||||
'create'
|
||||
);
|
||||
}
|
||||
|
||||
getCircuitBreakerState() {
|
||||
return this.circuitBreaker.getState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user