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

Ability to modify the folder where data is stored #1982

Open
JuezFenix opened this issue Aug 30, 2024 · 1 comment
Open

Ability to modify the folder where data is stored #1982

JuezFenix opened this issue Aug 30, 2024 · 1 comment

Comments

@JuezFenix
Copy link

Describe the solution you'd like
Right now, by default and without the possibility of modification, all data is saved in /DATA. I would like it to be possible to somehow establish the path in which the data should be stored. Being able to even separate the data referring to configurations and "work" files of the different containers, from the user files.

I don't know the complete structure of casaos, but one option would be to define the variable in the main configuration file and then have it read by the application management module to use it to generate the containers.

Additional context
It can be done in a similar way to how they do it in ansible-nas:

Here they define the route for all container data:

https://github.com/davestephens/ansible-nas/blob/2151f6287b6394c1729f55e7e22b86378da7e818/roles/ansible-nas-docker/defaults/main.yml

And here for the user data:

https://github.com/davestephens/ansible-nas/blob/2151f6287b6394c1729f55e7e22b86378da7e818/group_vars/all.yml

@CorrectRoadH
Copy link
Member

good idea. It will forward it to our PM @ETWang1991

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

2 participants