add optinal apps

This commit is contained in:
keyhan
2026-04-23 15:26:49 +03:30
parent f481a57d8f
commit 38748b0827
16 changed files with 3091 additions and 144 deletions
@@ -30,10 +30,10 @@ export class Application {
databaseType: DatabaseType;
@Column({ nullable: true })
runtimeVersion: string; // e.g. node: '20', '18', '16' | laravel php: '8.3', '8.2' | wordpress: '6.7', '6.6'
runtimeVersion: string; // node: '20','18','16' | laravel/wordpress php: '8.3','8.2' | go: '1.22','1.21' | python/django: '3.12','3.11' | dotnet: '8.0','7.0'
@Column({ nullable: true })
phpVersion: string; // PHP version for Laravel/WordPress (e.g. '8.3', '8.2', '8.1')
phpVersion: string; // PHP version for Laravel/WordPress/PHP (e.g. '8.3', '8.2', '8.1')
@Column({ nullable: true })
dbVersion: string; // e.g. postgres: '17', '16', '15' | mysql: '9.0', '8.4', '8.0'
@@ -47,6 +47,22 @@ export class Application {
@Column({ nullable: true, default: '1Gi' })
dbStorageSize: string; // PVC storage size for database (e.g. '1Gi', '5Gi', '10Gi')
@Column({ nullable: true, default: '2Gi' })
appStorageSize: string; // PVC storage size for app files (wp-content, uploads)
// ── Optional Services ─────────────────────────────
@Column({ default: false })
enableRedis: boolean;
@Column({ default: false })
enableRabbitmq: boolean;
@Column({ default: false })
enableElasticsearch: boolean; // For application logging
@Column({ type: 'jsonb', nullable: true })
logPaths: string[]; // Custom log paths to collect (e.g., ['/app/logs/*.log'])
@Column({ nullable: true })
gitUrl: string;