This is a fork of MariaDB's NoSQL Listener example that replaces MariaDB MaxScale and MariaDB Community Server with FerretDB and PostgreSQL.
$ git clone https://github.com/FerretDB/example.git
$ cd example
$ docker-compose pull
$ docker-compose up
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 FerretDB. For example:
You can see data in PostgreSQL using psql
. For example: