Skip to content

Docker Compose

Use Docker Compose to deploy Team Edition on Ubuntu, macOS, or Windows.

Info

For advanced configurations such as using an external database, managing encryption keys, scaling services, updating versions, or using custom image sources, refer to the Advanced settings guide.

Required network access

To ensure that Team Edition can be deployed and updated successfully, make sure the server has outbound access to specific websites. These domains are required for downloading Docker images, validating licenses, updating components, and resolving database drivers.

Required domains

Add the following domains to your firewall or proxy allowlist:

Domain Purpose
hub.docker.com Pull Docker images from Docker Hub
Docker image mirrors Content delivery domains used for image layers. See the full allowlist.
dbeaver.com License validation
databases.team Let's Encrypt certificates for custom domains. Learn more on Domain Manager
Maven Central and repositories Required to download some JDBC drivers we don’t bundle with the product (see Maven Central)

Warning

If access to any of these sites is restricted, you may see errors when updating, downloading components, or validating the license.

Containers that require outbound network access

Container name Required
cloudbeaver-dc Always
cloudbeaver-te Always
cloudbeaver-rm If using Git integration

Check access from the command line

Before starting the containers, make sure your environment can access essential external services:

ping hub.docker.com
curl -I https://dbeaver.com

If you already have Team Edition running, you can also verify network access from inside a container.

# List containers
docker ps

# Open a shell in the container
docker exec -it <container_id> bash

# Test connectivity inside the container
# Note: ping may not be installed in some containers (e.g., cloudbeaver-te container)
ping hub.docker.com
curl -I https://dbeaver.com

# Check HTTPS certificate retrieval (useful if using a Domain Manager)
openssl s_client -connect <your-domain>:443 -servername <your-domain>

Tip

If you're having trouble resolving hostnames inside containers, review Docker network settings. DNS issues can prevent access to required domains even if outbound connectivity is available.

# List pods
kubectl get pods

# Open a shell in the pod
kubectl exec --stdin --tty <pod_name> -- /bin/bash

# Test connectivity inside the pod
# Note: ping may not be installed in some containers (e.g., cloudbeaver-te container)
ping hub.docker.com
curl -I https://dbeaver.com

# Check HTTPS certificate retrieval (useful if using a Domain Manager)
openssl s_client -connect <your-domain>:443 -servername <your-domain>

Tip

If DNS resolution fails inside a pod, check your Kubernetes DNS configuration. Misconfigured DNS can block access even when the network itself is available.

Important

Docker and Kubernetes environments require access to several domains for authentication, image pulls, and updates. Make sure all required domains are accessible from inside your containers or pods. You can test any domain from the allowlist using:

curl -I https://<domain>

Deploying with host networking

By default, Team Edition runs using docker-compose.yml, which uses Docker's bridge network. If you need containers to run directly on the host network (for example, to bind Team Edition to a specific network interface), use docker-compose-nethost.yml.

Installation on Ubuntu

Required tools setup

  • Ensure Docker is installed by following the Docker installation guide for Linux.
  • Install Docker Compose if it’s not already installed:
    sudo apt update
    sudo apt install docker-compose
    
  • Install Git if it’s not already installed:
    sudo apt install git
    
  • Verify the installation:
    docker --version
    docker-compose --version
    git --version
    

Configuring and starting Team Edition

  1. Clone the Git repository to your machine:
    git clone https://github.com/dbeaver/team-edition-deploy
    
  2. Navigate to the cloned repository:
    cd team-edition-deploy/compose/cbte
    
  3. Set up the .env file as described here.

    Important

    You must change the default password in the .env file before starting the cluster. Set CLOUDBEAVER_DB_PASSWORD to a strong password of your choice.

  4. Start the cluster:

    docker-compose up -d
    

  5. Access Team Edition at https://<server-ip>.

Tip

Replace <server-ip> with your server’s actual IP address. You can configure the domain during the initial setup. For more details, see Domain Manager.

  1. Allow PostgreSQL and the application services to initialize, then wait for readiness. The proxy may briefly return HTTP 502 during startup. Inspect service logs if readiness doesn't complete within your operational timeout.
  2. Complete administrator setup and license activation through the documented product interface.

Installation on macOS

Required tools setup

  • Install Docker Desktop for macOS from Docker website. Make sure Docker Desktop is running before proceeding.
  • Install Docker Compose if it’s not bundled with Docker Desktop:
    brew install docker-compose
    
  • Install Git if it’s not already installed:
    brew install git
    
  • Verify the installation:
    docker --version
    docker-compose --version
    git --version
    

Configuring and starting Team Edition

  1. Clone the Git repository to your machine:
    git clone https://github.com/dbeaver/team-edition-deploy
    
  2. Open the Terminal and navigate to the repository:
    cd ~/team-edition-deploy/compose/cbte
    
  3. Set up the .env file as described here.

    Important

    You must change the default password in the .env file before starting the cluster. Set CLOUDBEAVER_DB_PASSWORD to a strong password of your choice.

  4. Start the cluster:

    docker-compose up -d
    

  5. Access Team Edition at https://<server-ip>.

Tip

Replace <server-ip> with your server’s actual IP address. You can configure the domain during the initial setup. For more details, see Domain Manager.

  1. Allow PostgreSQL and the application services to initialize, then wait for readiness. The proxy may briefly return HTTP 502 during startup. Inspect service logs if readiness doesn't complete within your operational timeout.
  2. Complete administrator setup and license activation through the documented product interface.

Installation on Windows

If you prefer an automated setup, you can use the DBeaver Server Installer.

Required tools setup

  • Install Docker Desktop for Windows from Docker website.
  • Install Git if it’s not already installed:
    winget install --id Git.Git -e --source winget
    
  • Verify the installations:
    docker --version
    docker-compose --version
    git --version
    

Configuring and starting Team Edition

  1. Clone the Git repository to your machine:
    git clone https://github.com/dbeaver/team-edition-deploy
    
  2. Open PowerShell and navigate to the cloned repository:
    cd C:\path\to\team-edition-deploy\compose\cbte
    
  3. Set up the .env file as described here.

    Important

    You must change the default password in the .env file before starting the cluster. Set CLOUDBEAVER_DB_PASSWORD to a strong password of your choice.

  4. Start the cluster:

    docker-compose up -d
    

  5. Access Team Edition at https://<server-ip>.

    Tip

    Replace <server-ip> with your server’s actual IP address. You can configure the domain during the initial setup. For more details, see Domain Manager.

  6. Allow PostgreSQL and the application services to initialize, then wait for readiness. The proxy may briefly return HTTP 502 during startup. Inspect service logs if readiness doesn't complete within your operational timeout.

  7. Complete administrator setup and license activation through the documented product interface.

Environment file configuration

The deployment directory includes the active .env file. Edit that file for this deployment. If another distribution provides only .env.example, copy it to .env before editing it.

  1. Navigate to the directory containing the configuration file:
    cd team-edition-deploy/compose/cbte
    
  2. Set CLOUDBEAVER_DB_PASSWORD to a strong, non-empty value. This change is required before startup.
  3. Keep the exact CLOUDBEAVER_VERSION_TAG supplied in .env. A channel name such as devel doesn't necessarily match the literal Docker tag. For example, the validated devel deployment uses the tag check.
  4. Optionally customize image sources, domain settings, scaling, and external database settings for your environment.
  5. Once the .env file is configured, continue with the installation for Ubuntu, macOS, or Windows based on your operating system.

Environment variables reference

The .env file contains image source, domain, scaling, and database connection settings. The password and exact supplied image tag are required deployment values. Other settings are optional customizations unless your environment requires them.

The provided Compose configuration doesn't consume automatic setup variables or a custom license-path variable. Complete administrator setup and license activation through the documented product interface.

After the endpoint responds over HTTPS, manually verify hostname and trust-chain validation from a production-equivalent client.

Variable Description
CLOUDBEAVER_VERSION_TAG Specifies the exact Team Edition image tag supplied in .env. A channel name may differ from the literal tag.
IMAGE_SOURCE The Docker image source for pulling images. Only change the default value if you're certain it's necessary.
COMPOSE_PROJECT_NAME Defines the name used for Docker Compose to group the services. It helps in managing containers as a group.
REPLICA_COUNT_TE, REPLICA_COUNT_TM, REPLICA_COUNT_QM, REPLICA_COUNT_RM Number of instances (replicas) for each service within the cluster. For more information on Docker service scaling and replicas, see the Docker Service Scale Documentation. Adjust based on load and scaling needs:
- REPLICA_COUNT_TE: Web Team Edition app instances.
- REPLICA_COUNT_TM: Task Manager instances.
- REPLICA_COUNT_QM: Query Manager instances.
- REPLICA_COUNT_RM: Resource Manager instances.
PROXY_TYPE Specifies the proxy server to use for external access. Supported values: nginx, haproxy.
Default is nginx. For more details on configuring proxy server, see the Proxy configuration.
USE_EXTERNAL_DB Determines if an external database is used. Set to true to connect to your own database instead of using the internal PostgreSQL.
CLOUDBEAVER_RESTRICT_EXTERNAL_SERVICES_INVOCATION Blocks outbound calls to the License Manager.
CLOUDBEAVER_QM_SAVE_TO_FILE_FOLDER Sets the folder where Query Manager saves query records as files. To use a custom folder, set this variable and create the folder manually. Make sure that Save records to a file is enabled in the Query Manager settings.

Info

For the full list of Team Edition configuration variables and their descriptions, see Server configuration.

Managing Team Edition with the server manager utility

DBeaver Team Edition includes a manager utility for starting, stopping, updating, configuring, and backing up the server. However, this manager is not installed by default in the Compose deployment and requires manual installation.

To install:

  1. Navigate to the team-edition-deploy/manager directory.
  2. Run the installation script for your operating system:

  3. macOS/Linux: Run the following command in your terminal:

    ./install-manager.sh
    

  4. Windows: Run the script in a compatible shell environment (e.g., Git Bash or WSL):
    ./install-manager.sh
    

Tip

If you’re using Linux, you can use the Server Manager. For comprehensive steps on initial setup, management tasks like starting, stopping, updating, configuring, and backing up, see the Managing DBeaver Team Edition server guide for details.