Docker settings

These settings are optional. To start dbCove, refer to Install with Docker.

Change a setting

SettingdbCove with embedded PostgreSQLdbCove with your PostgreSQL or Oracle
The first password of admin, at least 8 charactersDBCOVE_PASSWORD-e DBCOVE_ADMIN_PASSWORD='<password>'
The HTTPS port of the hostDBCOVE_PORT-p 8443:5138
The time zoneDBCOVE_TZ-e TZ=Europe/Berlin
A specific versionoci://dbcove/compose:<version>dbcove/dbcove:<version>
The port, the database or the schema of your repository-e DBCOVE_REPOSITORY_PORT, -e DBCOVE_REPOSITORY_DATABASE, -e DBCOVE_REPOSITORY_SCHEMA

With embedded PostgreSQL, put the variable before the command, each time you run it. Linux or macOS:

DBCOVE_PORT=8443 DBCOVE_TZ=Europe/Berlin docker compose -f oci://dbcove/compose up -d --wait -y

Windows (PowerShell):

$env:DBCOVE_PORT='8443'; $env:DBCOVE_TZ='Europe/Berlin'; docker compose -f oci://dbcove/compose up -d --wait -y

With your PostgreSQL or Oracle, run docker rm -f dbcove-app. Then run the docker run command again with the new option. The data stays in the dbcove-data volume.

Reports, maintenance windows and the start of each day use the time zone. Set the same time zone on the server of the repository. The default is Etc/UTC.

Other settings

The other settings of this page have a name and a value, for example Server__HttpBind and Any.

  • With your PostgreSQL or Oracle, add -e <name>=<value> to the docker run command.
  • With embedded PostgreSQL, save docker.yaml as compose.yaml in an empty folder. Write the setting below environment: of the dbcove service and run docker compose up -d in that folder. To upgrade, change the tag of the image in your file and run docker compose up -d again.

Docker Compose older than 2.34 cannot read oci://. Use the saved file with it too.

Use plain HTTP

dbCove uses HTTPS. You can open plain HTTP also, on a different port.

With plain HTTP, the passwords go through the network as clear text. Use plain HTTP only in a network that you trust.

dbCove with your PostgreSQL or Oracle

Add these options to the docker run command. Then open http://localhost:8080/.

-p 8080:5137 -e Server__HttpBind=Any

dbCove with embedded PostgreSQL

  1. Save docker.yaml as compose.yaml in an empty folder.

  2. In the dbcove service, add one line below ports: and one line below environment:.

        ports:
          - "8080:5137"
        environment:
          Server__HttpBind: Any
  3. Run docker compose up -d in that folder. Then open http://localhost:8080/.

Use your own certificate

  1. Mount the .pfx file into the container, for example -v /etc/dbcove/dbcove.pfx:/certs/dbcove.pfx:ro.

  2. Set Server__Certificate__Path to the path of the file in the container.

  3. Set Server__Certificate__Password to the password of the file.

  4. Start dbCove again. See Change a setting.

dbCove uses your certificate. Without one, dbCove makes its own certificate for the name dbcove. To add more names to that certificate, set Server__Certificate__ExtraNames, for example "dbcove.example.com;10.0.0.5".

Trust the certificate authorities of your company

Do this when your LDAP server (LDAPS), your mail server or a database uses a certificate from a certificate authority of your company.

  1. Copy the certificates of the authorities into the folder ca-certificates of the dbcove-data volume. Use PEM or DER files (.crt, .pem or .cer), for example: docker cp company-ca.crt dbcove-app:/var/lib/dbcove/ca-certificates/

  2. Run docker restart dbcove-app.

The log shows Company certificate authorities: 1 added. dbCove trusts these authorities and the public authorities of the image. To stop trusting an authority, remove its file and restart.

Run behind a reverse proxy

  1. Set Server__HttpBind to Any.

  2. Send the proxy to port 5137 of the container (plain HTTP), not to port 5138.

  3. Let the proxy pass WebSocket connections (the Upgrade and Connection headers).

  4. Set the idle timeout of the proxy to more than 60 seconds.

The proxy does the TLS, and users open dbCove at the address of the proxy.

Set memory and CPU

dbCove has a memory limit of 2 GB and no CPU limit. The embedded PostgreSQL has no limit.

LimitdbCove with embedded PostgreSQLdbCove with your PostgreSQL or Oracle
MemoryIn your saved compose.yaml, change mem_limit: 2g on the dbcove service, for example to mem_limit: 4g.Change -m 2g in the command, for example to -m 4g.
CPUAdd a line below it, for example cpus: 2.Add --cpus 2 to the command.

Then start dbCove again. See Change a setting.

dbCove reads the limit of its container when it starts. The API uses at most 55% of the limit for its data, and the web interface 20%. You do not set anything else.

Why there is a limit

Without a limit, dbCove sees all the memory of the server and keeps the memory that it takes. In our test with three small databases, dbCove used more than 1.2 GB without a limit. With the 2 GB limit, it used less than 0.5 GB.

How much memory to give

2 GB is for a small installation. Give more memory when you add databases. We do not publish a size for each number of databases yet.

If the memory is too small

  1. Run docker inspect -f '{{.State.OOMKilled}} {{.RestartCount}}' dbcove-app.

  2. If the first value is true, or the restart count increases, the container had no more memory. Increase the memory limit.

dbCove also writes a warning to its log when it uses more than half of its memory limit.

Disk

The dbcove-data volume keeps the keys, the certificates and the logs. The repository keeps the data that dbCove collects. In our test, a small database added 13 to 17 MB a day. A busy database adds more.

Back up

Back up the data volume, and the repository:

VolumeWhat it keeps
dbcove-dataThe keys, the sealed repository connection, the certificates and the logs.
dbcove-postgres-data (only with embedded PostgreSQL)The repository: your settings, users, databases and the data that dbCove collects. It also keeps the password of the PostgreSQL superuser. With your PostgreSQL or Oracle, back up the database there.

The file /var/lib/dbcove/api/protection.key in dbcove-data opens the values that dbCove keeps sealed on this container. Keep the backup of this volume as safe as a password.

Keep the recovery code too. With it, dbCove can open the stored passwords again when protection.key is lost.

If the data volume is lost

When the container starts with an empty dbcove-data volume and the old repository:

  • dbCove connects to the repository again. With embedded PostgreSQL, it uses the password of the PostgreSQL superuser in dbcove-postgres-data to do this.
  • The stored passwords stay locked. Enter the recovery code in Settings › Passwords.
  • The installation has a new ID. Release a paid license key and activate it again.
  • dbCove makes a new certificate.
  • Users must sign in again.

What is different from the Windows installation

ItemIn the Docker image
SQL Server sign-inSQL Server logins only. A Windows account and the service account are not available.
RepositorydbCove does not install PostgreSQL. The embedded PostgreSQL runs in a second container. Or you use your own PostgreSQL or your own Oracle.
PortsYou set the port of the host when you start dbCove. The container uses 5138 (HTTPS) and 5137 (HTTP).

Updated December 2, 2026