# Self-host Mealie

> A self-hosted recipe manager and meal planner with a clean web UI and API.

- Page: https://levelrail.com/templates/mealie/
- JSON: https://levelrail.com/templates/mealie.json
- Category: Productivity
- Licence: AGPL-3.0-only (Network copyleft (AGPL) license)
- Source: https://github.com/mealie-recipes/mealie
- Upstream docs: https://docs.mealie.io

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: tested
- Needs configuration before start: no
- Pinned image tag: v3.28.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| mealie | ghcr.io/mealie-recipes/mealie | v3.28.0 | 9000 | mealie_data -> /app/data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| mealie | BASE_URL | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy mealie --name my-mealie
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/mealie/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Mealie on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id mealie for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image ghcr.io/mealie-recipes/mealie:v3.28.0 is what you deploy there.

Self-host Mealie, Mealie docker compose file, deploy Mealie on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
