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

[ENHANCEMENTS] Storing configuration data in a separate file. #26

Closed
PassiveLemon opened this issue Jul 5, 2023 · 3 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@PassiveLemon
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, Zoraxy is a self-contained binary executable. This poses a problem for Docker hosting because trying to update to a newer version would result in data loss, or at the very least, way more complicated actions to store that data than would be realistically feasible. Having to set your proxy's, virtual dirs, etc for every update would be a huge hassle, especially if this project suddenly blows up and there are a lot more users and features.
Basically, the self-containment is not very good for reproducibility and may cause bigger headaches down the line.

Describe the solution you'd like
Write out the current configuration to a file, (json, yaml, etc).

Describe alternatives you've considered
#14 Suggests a backup/restore feature which may be useful for some situations, but not so much in this case.

@PassiveLemon PassiveLemon added the enhancement New feature or request label Jul 5, 2023
@PassiveLemon PassiveLemon self-assigned this Jul 5, 2023
@PassiveLemon PassiveLemon changed the title [ENHANCEMENTS] [ENHANCEMENTS] Storing configuration data in a separate file. Jul 5, 2023
@tobychui
Copy link
Owner

tobychui commented Jul 7, 2023

@PassiveLemon good suggestion! Currently all config files are stored inside its separated folders and sys.db, but I think I can integrate them all into one sub-folder in later release.

@Morethanevil
Copy link
Contributor

Maybe this could be combined with an Import / Export Feature. If all configuration is stored inside a file, this would make backup and restore easy

@tobychui
Copy link
Owner

Feature added in latest commit, will be available from next release onward.

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

No branches or pull requests

3 participants