feat: add Tandoor Recipes template

This commit is contained in:
Rohit Mulani
2026-06-22 19:33:10 +04:00
parent 1cde3fac82
commit daa0fa8aa9
4 changed files with 74 additions and 0 deletions

View File

@@ -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:

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128">
<rect width="128" height="128" rx="28" fill="#101828"/>
<circle cx="64" cy="64" r="34" fill="#38bdf8" opacity="0.92"/>
<text x="64" y="74" text-anchor="middle" font-family="Arial, sans-serif" font-size="30" font-weight="700" fill="#ffffff">T</text>
</svg>

After

Width:  |  Height:  |  Size: 325 B

View File

@@ -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"

View File

@@ -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",