Advanced Configuration
Use Custom Port
If you need to expose the main application on other port than default 3000
, you have to:
- update port mapping
-p <custom-port>:3000
parameter - provide environment variable
-e EXTERNAL_PORT=<custom-port>
So the example command for port 3333
looks like this:
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.2.0
docker run -i -t -e EXTERNAL_PORT=3333 -p 3333:3000 -p 5432:5432 `
-v gd-volume:/data gooddata/gooddata-cn-ce:1.2.0
Logging Verbosity Setup
Two environment variables can be passed on docker command line to change level of log verbosity.
APP_LOGLEVEL
- defines logging level for GoodData.CN components.PULSAR_LOGLEVEL
- defines logging level for Apache Pulsar. Both these variables can contain one ofERROR
,WARN
,INFO
,DEBUG
orTRACE
. Default itWARN
.
Example of running 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.2.0
docker run -i -t -p 3000:3000 -p 5432:5432 -v gd-volume:/data `
-e APP_LOGLEVEL=INFO gooddata/gooddata-cn-ce:1.2.0