Skip to content

Command line parameters

dbeaver-devops edited this page Dec 4, 2024 · 5 revisions

Table of contents

CloudBeaver support the same system parameters as DBeaver.

There are two ways to pass command line parameters to CloudBeaver server

Modify run-server script

  • Modify run-server.sh script, add extra parameters after java command in last line. For example, add parameter -Xmx2048 in server start:
java -Xmx2048M -jar ${launcherJar} -product io.cloudbeaver.product.ce.product -web-config conf/cloudbeaver.conf -nl en -registryMultiLanguage

Note: to be able to modify run script you must build CloudBeaver from sources. It doesn't make sense to modify the script in docker container because all changes will be reset after container restart.

Pass parameters using the environment variable

Set variable JAVA_OPTS to appropriate parameters value. It works for manual server start and for docker container start.

Manual

export JAVA_OPTS=-Xmx2048
./run-server.sh

Docker

You can pass JAVA_OPTS variable to docker container by using -e docker parameter:

sudo docker run -d --restart unless-stopped -p 80:8978 \
  -e JAVA_OPTS=-Xmx2048 \ 
  -v /var/cloudbeaver/workspace:/opt/cloudbeaver/workspace dbeaver/cloudbeaver:latest`}

CloudBeaver Documentation

User Guide

Installation

Configuration

CloudBeaver AWS

CloudBeaver Enterprise Edition

Deployment

Clone this wiki locally