-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
FEAT: consider changing the dbgate-data directory that is created in HOME #248
Comments
Good point! I will do this, it will require moving data into new location, but this should be definitely done |
Changed in 5.0.0 dbgate-data directory was renamed to .dbgate, for all platforms (mac, linux, windows) Under Windows, this is probably not most used behaviour, but many programs (eg. VSCode) use the same convention |
You may want to change this in the docker-compose example on docker hub. I ran into some problems until I saw this change. So change the following from the docker hub page:
to this:
You could also symlink /root/.dbgate/ to /root/dbgate-data in the dockerfile do ensure compatibility with older docker-compose files Thanks! |
@ethanmlee Thanks, updated |
Is your feature request related to a problem? Please describe.
Under linux, dbgate creates a visible, dbgate-data folder directly in the user's home directory. This is not typical Linux behaviour and it clutters the home directory.
Describe the solution you'd like
Store this data in a .config sub-directory e.g. ~/.config/dbgate-data/
Alternatively, change the current directory to ~/.dbgate-data/
The text was updated successfully, but these errors were encountered: