The oblogproxy-ce Docker image, available on dockerhub, quay.io and ghcr.io, is designed for users to quickly set up a Log Proxy CE instance for testing OceanBase CDC (Change Data Capture).
Before deploying oblogproxy-ce, ensure that the following requirements are met:
You'd better check the compatibility of oblogproxy first. See releases.
To start a Log Proxy instance, use one of the following docker run commands:
# Deploy an instance without sys account info
docker run -p 2983:2983 --name oblogproxy-ce -d oceanbase/oblogproxy-ce
# Deploy an instance with sys account info
docker run -p 2983:2983 --name oblogproxy-ce -e OB_SYS_USERNAME=root -e OB_SYS_PASSWORD=123456 -d oceanbase/oblogproxy-ce
The bootstrap procedure shouldn't take too much time. Verify the bootstrap completion by running:
docker logs oblogproxy-ce | tail -1
Expected output:
boot success!
You can use the oblogclient to connect to the log proxy instance. See oblogclient-sample for more details.
Below is a table of supported environment variables for the image:
| Variable name | Default value | Description |
|---|---|---|
| OB_SYS_USERNAME | The username of sys tenant. | |
| OB_SYS_PASSWORD | The password of sys tenant user. |
Note:
Content type
Image
Digest
sha256:6277b791d…
Size
1.4 GB
Last updated
about 2 years ago
docker pull oceanbase/oblogproxy-ce