mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
How to configure dockerized cloudbeaver #592
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#592
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AOne-T on GitHub (Oct 3, 2023).
Please, describe your question in details.
I'm running Cloudbeaver using docker-compose
In docs (https://github.com/dbeaver/cloudbeaver/wiki/Server-configuration) I found that I can change parameter
sqlTextPreviewMaxLengthin cloudbeaver.conf. Should I make a copy of it from a container, attach it as a volume? Or is there another way?@EvgeniaBzzz commented on GitHub (Oct 4, 2023):
Hi, @AOne-T
If you would like to change default config for all future deployments, then you should copy-paste it and map config folder (you also should copy other config files).
If you would like to change existing deploy - just change this parameter in .cloudbeaver.runtime.conf.
@bkuhl commented on GitHub (Oct 5, 2023):
It would be awesome to see environment variable configuration capabilities baked into the container, generating the config file on startup.
@AOne-T commented on GitHub (Oct 6, 2023):
I located cloudbeaver.conf in docker volume (
/var/lib/docler/volumes/...). Changed the parameter and restarted container. It helped, but I don't think it is the best way@bkuhl commented on GitHub (Oct 6, 2023):
That will work locally for a single project. I'm working with a more advanced setup where we use a .env to configure various aspects of the environment depending on where it's being run. Being able to control connection information such as host names, usernames, passwords via environment variables is pretty critical the portability of the application. Any kind of static file won't work.
@EvgeniaBzzz commented on GitHub (Oct 9, 2023):
Hi guys @AOne-T @bkuhl
We will implement this in future releases.
Thanks for a feature request!
@chardskarth commented on GitHub (Jan 19, 2024):
I successfully configured dbeaver to work behind an nginx. Had to tweak
/opt/cloudbeaver/conf/cloudbeaver.conf'sserver.rootURIfrom/to/dbeaverThen in my nginx, I had to simply add this:
Now i'm able to access
http://localhost:3000/dbeaver(nginx)But It was a bit tedious to configure.
/opt/cloudbeaver/conf/cloudbeaver.conf, tweak, and then add back as a volumeAn easier way to configure this please 🙏🙏
PS: Related -> #366
@EvgeniaBzzz commented on GitHub (Sep 23, 2024):
Environment variables were added in v.24.2.1
Server configuration will be updated soon.
Here are new variables with default values:
If anything is missing, please leave a comment here or create a new issue.
Thank you for being with CloudBeaver! 🦫