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:
Oussama Douhou
2026-01-10 09:56:33 +01:00
parent eb6d5142ca
commit 2f306f7d68
10 changed files with 1196 additions and 462 deletions

View File

@@ -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();
}