Skip to main content
Mangrove is configured entirely with environment variables. In production they go in /etc/mangrove/mangrove.env (mode 600); restart Mangrove after changing them. Everything is optional, with defaults suited to local development.

Server

Docker and resources

Routing and domains

GitHub

Email

Storage helper

Read by Mangrove and by mangrove-mountd. Change them only if you’ve moved things.

Set in the unit file

deploy/systemd/mangrove.service also sets HOME=/var/lib/mangrove (so Docker finds its config), GOMEMLIMIT=320MiB (so Go’s garbage collector stays inside the slice), and the static sites directory.

Clients

Read by mangrovectl, mangrove-tui and mangrove-mcp, not the server: See MCP for agents.

Installer only

setup.sh reads MANGROVE_ADMIN_EMAIL and MANGROVE_ADMIN_PASSWORD to create the first account without prompting. Mangrove itself never reads them.