Commit Graph
1 Commits
Author SHA1 Message Date
Andras BacsaiandClaude Opus 4.5 885fb20445 Implement versioned deployment snapshots for improved rollback
- Add SaveDeploymentSnapshot action to save docker-compose.yaml, .env,
  and metadata.json to versioned deployment directories
- Add CleanupOldDeployments action to enforce retention policy (last 5)
- Add helper functions for deployment directory paths
- Modify ApplicationDeploymentJob to save snapshots after deployment
- Rewrite Rollback component to show deployment history
- Support instant rollback (when image exists) and rebuild rollback

New directory structure on server:
/data/coolify/applications/{uuid}/deployments/{deployment_uuid}/
  - docker-compose.yaml
  - .env
  - metadata.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 15:25:55 +01:00