Public Repository

Last pushed: 10 days ago
Short Description
Docker image for easily setting up the mongo-bi-connector in a container
Full Description

usage

docker build -t mongo-bi-connector

docker run -p 9015:3307 -d mongo-bi-connector -e DB_NAME=your_mongo_db -e MONGO_HOST=your_mongo_host -e MONGO_PORT=your_mongo_port

where 8080 is your local machine port

Is it working?

To check if it's properly working install a mysql client and test the following command :

mysql --protocol tcp --port 9015 --verbose

If you have the MySQL welcome message, it is working, you can check your tables with
use <whatever_your_db>; show tables;

authentication

This image also handles authentication enabled databases
just add the following env variables:

  • MONGO_USERNAME
  • MONGO_PASSWORD
  • MONGO_AUTH_DB

docker compose

I added a docker compose exemple as an exemple that links the bi-connector container to a mongo container.

license

Keep in mind that this include licensed content and requires a Mongodb entreprise license.

Sources : https://github.com/emmanuelvisage/docker-mongo-bi-connector

Docker Pull Command
Owner
visage