How can I give the cdd name during "Docker run"

How can I give the cdd name during "Docker run"

book

Article ID: KB0075761

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.5.x and upper

Description

We use different cdd file for each env ( eg, DEV, QA, PROD). So, how can I inject cdd file while starting the docker image during "docker run"?

Issue/Introduction

How can I give the cdd name during "Docker run"

Environment

All supported environment

Resolution

You can use environment variable CDD_FILE to specify the path and filename of the CDD.
That follows the same rule of be-engine -c option, engine looks first in the file system, and then in the EAR file at runtime. For example:
docker run -p 8108:8108 -e "CDD_FILE=fd.cdd" fd:01