Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions blueprints/tandoor-recipes/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
17 changes: 17 additions & 0 deletions blueprints/tandoor-recipes/meta.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
5 changes: 5 additions & 0 deletions blueprints/tandoor-recipes/tandoor-recipes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions blueprints/tandoor-recipes/template.toml
Original file line number Diff line number Diff line change
@@ -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"
Loading