diff --git a/blueprints/tandoor-recipes/docker-compose.yml b/blueprints/tandoor-recipes/docker-compose.yml new file mode 100644 index 00000000..d945fd92 --- /dev/null +++ b/blueprints/tandoor-recipes/docker-compose.yml @@ -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: diff --git a/blueprints/tandoor-recipes/meta.json b/blueprints/tandoor-recipes/meta.json new file mode 100644 index 00000000..3ddeb8c7 --- /dev/null +++ b/blueprints/tandoor-recipes/meta.json @@ -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" + ] +} 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..55d3e011 --- /dev/null +++ b/blueprints/tandoor-recipes/template.toml @@ -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"