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

[Task] Create project volumes to save databases data #386

Open
taorepoara opened this issue Feb 18, 2024 · 1 comment
Open

[Task] Create project volumes to save databases data #386

taorepoara opened this issue Feb 18, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@taorepoara
Copy link
Contributor

What should be done

When using the Lenra CLI we might want to keep the development data between two tests.
When creating many apps we also want to separate one app data from another one.

Add the possibility to keep the data when wanted by the user. It should be a new option to add this to the terminal context.

A shortcut should be added to the dev mode (K as keep ?).

Technical recommandation

Create two folders in the .lenra forder to keep the data only for the given app.

Ecological concerns

By default the stop command remove de volumes.

@taorepoara taorepoara added enhancement New feature or request good first issue Good for newcomers labels Feb 18, 2024
@taorepoara
Copy link
Contributor Author

An alternative could be to define volumes in the compose.yml file and define a unique name to the projet (path hash ?) to avoid conflicts between lenra apps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant