This is a fork of MariaDB's NoSQL Listener example that replaces MariaDB MaxScale and MariaDB Community Server with MangoDB and PostgreSQL.
Quickstart
$ git clone https://github.com/MangoDB-io/example.git
$ cd example
$ docker-compose pull
$ docker-compose up -d
Note: if you are updating from the previous version, run:
$ docker-compose down
$ docker system prune --volumes --force
Then open http://localhost:8888/ and use that example application.
If you have a recent enough mongosh
, you can use to connect to MangoDB. For example:
You can see data in PostgreSQL using psql
. For example: