Add time-limited external access for optional services and database.

Users can open temporary NodePort access with auto-revoke via Bull jobs and a dashboard UI to manage active grants.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-15 13:58:08 +03:30
parent c7981074d4
commit 2303985d0c
13 changed files with 1015 additions and 19 deletions
+26
View File
@@ -62,6 +62,32 @@ export interface Application {
updatedAt: string;
}
export type ServiceAccessTarget =
| 'database'
| 'redis'
| 'rabbitmq_amqp'
| 'rabbitmq_management';
export interface ServiceAccessConnection {
host?: string;
port?: number;
username?: string;
password?: string;
database?: string;
url?: string;
}
export interface ServiceAccessGrant {
id: string;
target: ServiceAccessTarget;
host: string;
port: number;
targetPort: number;
expiresAt: string;
status: 'active' | 'expired' | 'revoked';
connection: ServiceAccessConnection;
}
export interface Deployment {
id: string;
status: DeploymentStatus;