# Self-host Tandoor Recipes

> A recipe manager and meal planner with shopping lists and shared cookbooks.

- Page: https://levelrail.com/templates/tandoor-recipes/
- JSON: https://levelrail.com/templates/tandoor-recipes.json
- Category: Productivity
- Licence: LicenseRef-Commons-Clause (Source available)
- Source: https://github.com/TandoorRecipes/recipes
- Upstream docs: https://docs.tandoor.dev/install/docker/

## Requirements
- Memory: about 512 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 16-alpine

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| db | postgres | 16-alpine | none | tandoor_db_data -> /var/lib/postgresql/data |
| tandoor | vabene1111/recipes | 2.6.15 | 80 | tandoor_data -> /opt/recipes/mediafiles; tandoor_static -> /opt/recipes/staticfiles |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| db | POSTGRES_DB | preset |
| db | POSTGRES_PASSWORD | generated |
| db | POSTGRES_USER | preset |
| tandoor | ALLOWED_HOSTS | preset |
| tandoor | DB_ENGINE | preset |
| tandoor | POSTGRES_DB | preset |
| tandoor | POSTGRES_HOST | preset |
| tandoor | POSTGRES_PASSWORD | generated |
| tandoor | POSTGRES_PORT | preset |
| tandoor | POSTGRES_USER | preset |
| tandoor | SECRET_KEY | generated |

## Deploy

### CLI

```bash
levelrail-cli templates deploy tandoor-recipes --name my-tandoor-recipes
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/tandoor-recipes/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 Tandoor Recipes 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 tandoor-recipes for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image postgres:16-alpine, vabene1111/recipes:2.6.15 is what you deploy there.

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