Environment variables and connection setup for Docker?
See original GitHub issueI am running FROM dbeaver/cloudbeaver:21.0.1
Q1) How do I bypass “INITIAL SERVER CONFIGURATION” while running in Docker? I want to specify the cbadmin user name (nice to have) and password (critical) as an environment variable or command line setting. Something like CB_ADMIN_NAME=cbadmin
and CB_ADMIN_PASSWORD=password
. If I provide this information, I hope it will stop the setup wizard and go directly to the main / data explorer page.
Q2) What does adminCredentialsSaveEnabled
do within conf/cloudbeaver.conf
https://github.com/dbeaver/cloudbeaver/wiki/Server-configuration
Q3) Where can I find a list of all Cloud Beaver environment variables? Is there a way to set supportsCustomConnections
other than inside conf/cloudbeaver.conf
Q4) I believe I need to copy two files to force connection setup. Is there a better way to setup connections automatically within docker? https://github.com/dbeaver/cloudbeaver/wiki/Configuring-server-datasources
/opt/cloudbeaver/workspace/GlobalConfiguration/.dbeaver/credentials-config.json
Saved user name and password from wizards setup? Anyway to pass with environment variables or command line settings?/opt/cloudbeaver/conf/initial-data-sources.conf
driver and host setup without password
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Variables can be set in CloudBeaver configuration files. The description is available in the article Using environment variables. Please feel free to contact me, if you have any additional questions.
It would be much nicer for K8s & Docker use if a connection could be configured via environment variables.
e.g.: