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
$ rm -fr data
Then open http://localhost:8888/ and use that example application.
If you have mongosh
, you can use it to connect to FerretDB. For example: