Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying services to destroy #194

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

AaronFeledy
Copy link
Member

Adds service option to the destroy task to enable users to destroy only the container and volumes for the specified service.

The below will remove the database container and the associated data, leaving other containers and data intact.

lando destroy --service database

Running lando start or lando rebuild will rebuild the missing container and volumes.

Resolves lando/lando#2607

Copy link

netlify bot commented Aug 14, 2024

Deploy Preview for lando-core ready!

Name Link
🔨 Latest commit 5822972
🔍 Latest deploy log https://app.netlify.com/sites/lando-core/deploys/66bcfa905c48bd0008219cd3
😎 Deploy Preview https://deploy-preview-194--lando-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (🟢 up 2 from production)
Accessibility: 98 (no change from production)
Best Practices: 100 (no change from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@reynoldsalec
Copy link
Sponsor Member

This looks good to me @AaronFeledy, I might wait until @pirog can give us his two cents when he gets back from vacation, not sure if he has some sort of architectural reason Lando shouldn't allow destroying specific services...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to destroy a single service
2 participants