feat: WordPress migration support — upload existing site files

- Add two deployment modes for WordPress: Fresh Install vs Migrate Existing Site
- Fresh Install: vanilla WordPress from official image (existing behavior)
- Migrate: upload ZIP with wp-content/ (themes, plugins, uploads), wp-config.php, .htaccess
- Custom entrypoint merges staged wp-content into PVC on first container run
- Add init container for fresh WordPress builds (empty source context for Kaniko)
- Increase upload limit to 200MB for WordPress sites
- Add PHP upload limits (64MB) and memory config in WordPress Dockerfile
- Update deploy page review step to show WordPress mode info
- All UI in English
This commit is contained in:
keyhan
2026-04-07 23:12:25 +03:30
parent c2c6a32ae8
commit 5979b48a61
4 changed files with 220 additions and 36 deletions
@@ -51,7 +51,7 @@ export class ApplicationsController {
@ApiOperation({ summary: 'Upload application code (zip file)' })
@ApiConsumes('multipart/form-data')
@UseInterceptors(FileInterceptor('file', {
limits: { fileSize: 100 * 1024 * 1024 }, // 100MB
limits: { fileSize: 200 * 1024 * 1024 }, // 200MB (WordPress sites can be large)
}))
async uploadCode(
@Param('id') id: string,