# MongoDB

> Document database with daily compressed dumps.

Document database with daily compressed dumps.

Official MongoDB image with a volume, a generated root user and Railway's variable names. With a backup bucket set, mongodump streams a compressed archive into restic every day.

## Deploy

On the canvas, select **+ Create**, then **Database** or **Template**, then **MongoDB**. Or run `5050 deploy --template mongodb`.

## Services it creates

| Service | Image | Volume | Public domain |
|---|---|---|---|
| MongoDB | `mongo:8.0.28` | `/data/db` | no |

## Inputs

None.

The manifest is [templates/mongodb/template.yaml](https://github.com/musakkka/5050cloud/blob/main/templates/mongodb/template.yaml).

## Next steps

- [Templates reference](https://5050cloud.com/docs/reference/templates)
- [Backups and restore](https://5050cloud.com/docs/guides/backups)
