Deploying debezium configuration issue

Hey,

Im trying to deploy Debezium from a public image debezium/server:latest.

Debezium requires a configuration file named application.properties.

How do we do this in Render? I wanted to use secret file but im not able to get it working.

Locally I would do the following:

docker run --rm \
–name debezium-server
–network=backend_default
-v $PWD/debezium:/debezium/conf
debezium/server:latest

How do I do this ?

Hi there,

You can achieve this in a couple of ways, depending on whether you are doing a Docker deploy with your own Dockerfile or deploying the Debezium image directory from Docker Hub.

Firstly, anything in the application.properties can be set as an environment variable. You should do this for any secrets you use in the application.properties.

You could also commit your own application.properties to Git and then copy it to /debezium/conf as part of your own Dockerfile. Something like:

FROM debezium/server:latestCOPY application.properties /debezium/conf

Regards,

Keith
Render Support, UTC+10 :australia:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.