Merge pull request #955 from rohitmulani63-ops/codex/add-tandoor-recipes-template

feat: add Tandoor Recipes template
This commit is contained in:
Mauricio Siu
2026-07-08 10:19:09 -06:00
committed by GitHub
4 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
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:2.6.11
restart: unless-stopped
depends_on:
- tandoor-db
environment:
SECRET_KEY: ${SECRET_KEY}
TANDOOR_PORT: "8080"
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}
ALLOWED_HOSTS: ${ALLOWED_HOSTS}
CSRF_TRUSTED_ORIGINS: ${CSRF_TRUSTED_ORIGINS}
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,17 @@
{
"id": "tandoor-recipes",
"name": "Tandoor Recipes",
"version": "2.6.11",
"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"
]
}

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,20 @@
[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}"
ALLOWED_HOSTS = "${main_domain}"
CSRF_TRUSTED_ORIGINS = "https://${main_domain}"
POSTGRES_PASSWORD = "${postgres_password}"
POSTGRES_USER = "tandoor"
POSTGRES_DB = "tandoor"