Advanced Configuration

Use Custom Port

To expose the main application on a port other than the default port 3000, do the following steps.:

  1. Update the port mapping -p <custom-port>:3000 parameter.
  2. Provide the following environment variable: -e EXTERNAL_PORT=<custom-port>.

Example of changing the port to the custom value of 3333:

Bash
PowerShell 7
docker run -i -t -e EXTERNAL_PORT=3333 -p 3333:3000 -p 5432:5432 \
  -v gd-volume:/data gooddata/gooddata-cn-ce:1.4.0
docker run -i -t -e EXTERNAL_PORT=3333 -p 3333:3000 -p 5432:5432 `
  -v gd-volume:/data gooddata/gooddata-cn-ce:1.4.0

Logging Verbosity Setup

Two environment variables can be passed through the docker command line to change the level of the log’s verbosity.

  • APP_LOGLEVEL - defines logging level for GoodData.CN components.
  • PULSAR_LOGLEVEL - defines logging level for Apache Pulsar.

Both these variables can contain one of ERROR, WARN, INFO, DEBUG or TRACE. The default is WARN.

Example of running an all-in-one (AIO) container with increased application logging verbosity:

Bash
PowerShell 7
docker run -i -t -p 3000:3000 -p 5432:5432 -v gd-volume:/data \
  -e APP_LOGLEVEL=INFO gooddata/gooddata-cn-ce:1.4.0
docker run -i -t -p 3000:3000 -p 5432:5432 -v gd-volume:/data `
  -e APP_LOGLEVEL=INFO gooddata/gooddata-cn-ce:1.4.0

Custom JDBC Drivers

Due to licensing restrictions, GoodData is not allowed to distribute the JDBC drivers for some databases. However, you can inject the drivers we cannot distribute.

Use the following procedure to inject custom JDBC drivers into the Community Edition of GoodData.CN:

  1. Download the driver to a local folder. For example, /tmp/db-drivers/BIGQUERY.
  2. With the absolute path to db-drivers specified in the command line arguments, start the GoodData.CN Community Edition container.
    Bash
    PowerShell 7
    docker run -i -t -p 3000:3000 -p 5432:5432 -v gd-volume:/data -v /tmp/db-drivers:/opt/extra-drivers \
      -e APP_LOGLEVEL=INFO gooddata/gooddata-cn-ce:1.4.0
    
    docker run -i -t -p 3000:3000 -p 5432:5432 -v gd-volume:/data -v /tmp/db-drivers:/opt/extra-drivers `
      -e APP_LOGLEVEL=INFO gooddata/gooddata-cn-ce:1.4.0