diff --git a/compose/.apps/tandoor/tandoor.aarch64.yml b/compose/.apps/tandoor/tandoor.aarch64.yml new file mode 100644 index 0000000000..ad8658e08b --- /dev/null +++ b/compose/.apps/tandoor/tandoor.aarch64.yml @@ -0,0 +1,3 @@ +services: + tandoor: + image: docker.io/vabene1111/recipes:${TANDOOR_TAG} diff --git a/compose/.apps/tandoor/tandoor.hostname.yml b/compose/.apps/tandoor/tandoor.hostname.yml new file mode 100644 index 0000000000..87e94cb6bd --- /dev/null +++ b/compose/.apps/tandoor/tandoor.hostname.yml @@ -0,0 +1,3 @@ +services: + tandoor: + hostname: ${DOCKERHOSTNAME} diff --git a/compose/.apps/tandoor/tandoor.labels.yml b/compose/.apps/tandoor/tandoor.labels.yml new file mode 100644 index 0000000000..a5ab6f7c78 --- /dev/null +++ b/compose/.apps/tandoor/tandoor.labels.yml @@ -0,0 +1,16 @@ +services: + tandoor: + labels: + com.dockstarter.appinfo.deprecated: "false" + com.dockstarter.appinfo.description: "The recipe manager that allows you to manage your ever growing collection of digital recipes." + com.dockstarter.appinfo.nicename: "Tandoor" + com.dockstarter.appvars.tandoor_debug: "false" + com.dockstarter.appvars.tandoor_enabled: "false" + com.dockstarter.appvars.tandoor_gunicorn_media: "1" + com.dockstarter.appvars.tandoor_network_mode: "" + com.dockstarter.appvars.tandoor_secret_key: "change_me" + com.dockstarter.appvars.tandoor_allowed_hosts: "*" + com.dockstarter.appvars.tandoor_database_url: "sqlite://localhost/data/db.sqlite3" + com.dockstarter.appvars.tandoor_port_8080: "8080" + com.dockstarter.appvars.tandoor_restart: "unless-stopped" + com.dockstarter.appvars.tandoor_tag: "latest" diff --git a/compose/.apps/tandoor/tandoor.netmode.yml b/compose/.apps/tandoor/tandoor.netmode.yml new file mode 100644 index 0000000000..16efeae28f --- /dev/null +++ b/compose/.apps/tandoor/tandoor.netmode.yml @@ -0,0 +1,3 @@ +services: + tandoor: + network_mode: ${TANDOOR_NETWORK_MODE} diff --git a/compose/.apps/tandoor/tandoor.ports.yml b/compose/.apps/tandoor/tandoor.ports.yml new file mode 100644 index 0000000000..86d1ea247d --- /dev/null +++ b/compose/.apps/tandoor/tandoor.ports.yml @@ -0,0 +1,4 @@ +services: + tandoor: + ports: + - ${TANDOOR_PORT_8080}:8080 diff --git a/compose/.apps/tandoor/tandoor.x86_64.yml b/compose/.apps/tandoor/tandoor.x86_64.yml new file mode 100644 index 0000000000..ad8658e08b --- /dev/null +++ b/compose/.apps/tandoor/tandoor.x86_64.yml @@ -0,0 +1,3 @@ +services: + tandoor: + image: docker.io/vabene1111/recipes:${TANDOOR_TAG} diff --git a/compose/.apps/tandoor/tandoor.yml b/compose/.apps/tandoor/tandoor.yml new file mode 100644 index 0000000000..f0485cf0a5 --- /dev/null +++ b/compose/.apps/tandoor/tandoor.yml @@ -0,0 +1,24 @@ +services: + tandoor: + container_name: tandoor + environment: + - ALLOWED_HOSTS=${TANDOOR_ALLOWED_HOSTS} + - DATABASE_URL=${TANDOOR_DATABASE_URL} + - DEBUG=${TANDOOR_DEBUG} + - GUNICORN_MEDIA=${TANDOOR_GUNICORN_MEDIA} + - SECRET_KEY=${TANDOOR_SECRET_KEY} + - TIMEZONE=${TZ} + - TZ=${TZ} + + logging: + driver: json-file + options: + max-file: ${DOCKERLOGGING_MAXFILE} + max-size: ${DOCKERLOGGING_MAXSIZE} + restart: ${TANDOOR_RESTART} + volumes: + - /etc/localtime:/etc/localtime:ro + - ${DOCKERCONFDIR}/tandoor/staticfiles:/opt/recipes/staticfiles + - ${DOCKERCONFDIR}/tandoor/mediafiles:/opt/recipes/mediafiles + - ${DOCKERCONFDIR}/tandoor/data:/opt/recipes/data + - ${DOCKERSTORAGEDIR}:/storage diff --git a/docs/apps/tandoor.md b/docs/apps/tandoor.md new file mode 100644 index 0000000000..0236d356ac --- /dev/null +++ b/docs/apps/tandoor.md @@ -0,0 +1,46 @@ +# Tandoor + +[![Docker Pulls](https://img.shields.io/docker/pulls/vabene1111/recipes?style=flat-square&color=607D8B&label=docker%20pulls&logo=docker)](https://hub.docker.com/r/vabene1111/recipes) +[![GitHub Stars](https://img.shields.io/github/stars/vabene1111/recipes?style=flat-square&color=607D8B&label=github%20stars&logo=github)](https://github.com//vabene1111/recipes) +[![Compose Templates](https://img.shields.io/static/v1?style=flat-square&color=607D8B&label=compose&message=templates)](https://github.com/GhostWriters/DockSTARTer/tree/master/compose/.apps/tandoor) + +## Description + +[Tandoor](https://docs.tandoor.dev/) is a recipe manager and so much more. +You can import recipes from thousands of websites, generate mealplans, manage your shopping list. +Share and collaborate with your friends and family using a mobile friendly web interface. + +## Install/Setup + +This application has extensive customization options, most docker env variables are documented in the [.env.template](https://raw.githubusercontent.com/vabene1111/recipes/master/.env.template) +If you run into any issues, enable debug mode to collect logs before opening a ticket. + +The application requires a secret key for cryptographic signing. It can be any string, but it is recommend to generate a random string. +On linux you can run `tr -dc A-Za-z0-9