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

Volume mounts #818

Open
raphaeltm opened this issue Oct 31, 2024 · 0 comments
Open

Volume mounts #818

raphaeltm opened this issue Oct 31, 2024 · 0 comments

Comments

@raphaeltm
Copy link
Collaborator

I know that it would be somewhat anathema to many aspects of Defang's philosophy, but I think we should support volume mounts for service. I think it's okay if we have some caveats around it.

Let's say someone wants to run a database like EdgeDB, using their Docker image and their compose example. It strikes me as really unfortunate that at the moment:

  • we don't have a safe way to run this because there's no way to persist the state
  • there are loads of compose examples in the wild for interesting databases and stateful services that Defang users can't just download and defang compose up because they use volume mounts to persist data

I think it should be fine to allow this with warnings/caveats/explicit instructions that the user understands the downsides of running such services.

@raphaeltm raphaeltm changed the title Volume mounts for non-managed services Volume mounts Nov 1, 2024
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

No branches or pull requests

1 participant