NOTE: This repository is no longer maintained!
The dbeaver script is now part of the docksal addons repository.
This Docksal addon launches DBeaver with the connection information from the current project. DBeaver is a multi-platform database tool which supports popular database engines like MySQL, PostgreSQL, SQLite and more.
This addon tries to detect the database engine and launches DBeaver with the correct connection settings. Currently only the following database engines can be detected:
- MySQL
- PostgreSQL
To install this addon globally, clone this repository inside the $HOME/.docksal/addons
directory.
mkdir -p $HOME/.docksal/addons
git clone git@github.com:CyberJack/dbeaver.git $HOME/.docksal/addons/dbeaver
To install this addon inside a single project, clone this repository inside the .docksal/addons
directory within the project.
From the root of the project run:
mkdir -p .docksal/addons
git clone git@github.com:CyberJack/dbeaver.git .docksal/addons/dbeaver
fin dbeaver [service_name (default: db)]
Run fin dbeaver
to launch DBeaver with the connection information from the current project. If the database service name is not db
or the project has multiple database services, a service name can be provided as the first parameter.
Pull requests are welcome. Make sure to use ShellCheck before submitting a pull request.
For major changes, please open an issue first to discuss what you would like to change.
- Docksal: https://docksal.io
- DBeaver: https://dbeaver.io
- ShellCheck: https://www.shellcheck.net