From daa0fa8aa9f4ee5a7584d8a8a0a2a683e8a52243 Mon Sep 17 00:00:00 2001 From: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:33:10 +0400 Subject: [PATCH] feat: add Tandoor Recipes template --- blueprints/tandoor-recipes/docker-compose.yml | 34 +++++++++++++++++++ .../tandoor-recipes/tandoor-recipes.svg | 5 +++ blueprints/tandoor-recipes/template.toml | 18 ++++++++++ meta.json | 17 ++++++++++ 4 files changed, 74 insertions(+) create mode 100644 blueprints/tandoor-recipes/docker-compose.yml create mode 100644 blueprints/tandoor-recipes/tandoor-recipes.svg create mode 100644 blueprints/tandoor-recipes/template.toml diff --git a/blueprints/tandoor-recipes/docker-compose.yml b/blueprints/tandoor-recipes/docker-compose.yml new file mode 100644 index 00000000..bb6eef24 --- /dev/null +++ b/blueprints/tandoor-recipes/docker-compose.yml @@ -0,0 +1,34 @@ +services: + tandoor-db: + image: postgres:16-alpine + restart: unless-stopped + environment: + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} + volumes: + - tandoor_db_data:/var/lib/postgresql/data + + tandoor-recipes: + image: vabene1111/recipes:latest + restart: unless-stopped + depends_on: + - tandoor-db + environment: + SECRET_KEY: ${SECRET_KEY} + DB_ENGINE: django.db.backends.postgresql + POSTGRES_HOST: tandoor-db + POSTGRES_PORT: 5432 + POSTGRES_USER: ${POSTGRES_USER} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + POSTGRES_DB: ${POSTGRES_DB} + volumes: + - tandoor_staticfiles:/opt/recipes/staticfiles + - tandoor_mediafiles:/opt/recipes/mediafiles + ports: + - "8080" + +volumes: + tandoor_db_data: + tandoor_staticfiles: + tandoor_mediafiles: diff --git a/blueprints/tandoor-recipes/tandoor-recipes.svg b/blueprints/tandoor-recipes/tandoor-recipes.svg new file mode 100644 index 00000000..5bc351bc --- /dev/null +++ b/blueprints/tandoor-recipes/tandoor-recipes.svg @@ -0,0 +1,5 @@ + + + + T + diff --git a/blueprints/tandoor-recipes/template.toml b/blueprints/tandoor-recipes/template.toml new file mode 100644 index 00000000..c8c45aa5 --- /dev/null +++ b/blueprints/tandoor-recipes/template.toml @@ -0,0 +1,18 @@ +[variables] +main_domain = "${domain}" +secret_key = "${password:64}" +postgres_password = "${password:32}" + +[config] +mounts = [] + +[[config.domains]] +serviceName = "tandoor-recipes" +port = 8080 +host = "${main_domain}" + +[config.env] +SECRET_KEY = "${secret_key}" +POSTGRES_PASSWORD = "${postgres_password}" +POSTGRES_USER = "tandoor" +POSTGRES_DB = "tandoor" diff --git a/meta.json b/meta.json index 8be7825d..5187923c 100644 --- a/meta.json +++ b/meta.json @@ -6076,6 +6076,23 @@ "network" ] }, + { + "id": "tandoor-recipes", + "name": "Tandoor Recipes", + "version": "latest", + "description": "Tandoor Recipes is a self-hosted recipe manager, meal planner, and shopping list application.", + "logo": "tandoor-recipes.svg", + "links": { + "github": "https://github.com/TandoorRecipes/recipes", + "website": "https://tandoor.dev/", + "docs": "https://docs.tandoor.dev/" + }, + "tags": [ + "recipes", + "meal-planning", + "self-hosted" + ] + }, { "id": "teable", "name": "teable",