Configure MongoDB on TurboStack

Enable Percona Server for MongoDB per host on TurboStack - where it lives in the GUI and the required and optional YAML keys.

Enable MongoDB on the host that needs it and pin the version you want to run.

The MongoDB panel on a host's Services tab, enabled, showing the version field and Advanced Settings expanded to show the Bind IP
The MongoDB panel on a host's Services tab, enabled, showing the version field and Advanced Settings expanded to show the Bind IP

Where to configure it

MongoDB is a host-level service. To reach it, open the host, go to its Services tab, and find the MongoDB entry. Enable the service there and choose the version. The change is saved to the host's YAML configuration and applied on the next deployment.

YAML configuration

Required

Key Meaning
mongodb_version The major version of Percona Server for MongoDB to run, for example "7.0" or newer. Setting this key installs and enables MongoDB on the host - there is no separate enable key.

Optional

Key Meaning
mongodb_bindip The network interfaces MongoDB listens on, as a comma-separated list, or ANY for every interface. Security-sensitive - bind to the narrowest interface your application needs.
mongodb_version: "7.0"
# Optional, security-sensitive:
mongodb_bindip: "127.0.0.1"

Listening address

mongodb_bindip takes a comma-separated list of addresses, or the keyword ANY, which makes MongoDB listen on every interface the server has, over both IPv4 and IPv6.