Fix planka enviroment variables and add tandoor.
This commit is contained in:
parent
148e5c9fd6
commit
7318ec4578
|
@ -20,10 +20,10 @@ services:
|
|||
ports:
|
||||
- ${APP_PORT}:1337
|
||||
environment:
|
||||
BASE_URL: ${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
TRUST_PROXY: 1
|
||||
DATABASE_URL: "postgresql://postgres@postgres/planka"
|
||||
SECRET_KEY: "${PLANKA_SECRET_KEY}"
|
||||
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
- TRUST_PROXY=1
|
||||
- DATABASE_URL="postgresql://postgres@postgres/planka"
|
||||
- SECRET_KEY="${PLANKA_SECRET_KEY}"
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
|
|
30
apps/tandoor/config.json
Normal file
30
apps/tandoor/config.json
Normal file
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"$schema": "../schema.json",
|
||||
"name": "Tandoor",
|
||||
"port": 8341,
|
||||
"available": true,
|
||||
"exposable": true,
|
||||
"id": "tandoor",
|
||||
"tipi_version": 1,
|
||||
"version": "1.5.4",
|
||||
"categories": ["data"],
|
||||
"description": "Drop your collection of links and notes. Get Tandoor and never look back onto a time without recipe management, storage, sharing and collaborative cooking!",
|
||||
"short_desc": "Manage your ever growing recipe collection online.",
|
||||
"author": "Tandoor Recipes",
|
||||
"source": "https://github.com/TandoorRecipes/recipes",
|
||||
"website": "https://tandoor.dev/",
|
||||
"form_fields": [
|
||||
{
|
||||
"type": "random",
|
||||
"label": "Tandoor Secret Key",
|
||||
"min": 32,
|
||||
"env_variable": "TANDOOR_SECRET_KEY"
|
||||
},
|
||||
{
|
||||
"type": "random",
|
||||
"label": "Postgress Password",
|
||||
"min": 32,
|
||||
"env_variable": "TANDOOR_POSTGRESS_PASSWORD"
|
||||
}
|
||||
]
|
||||
}
|
45
apps/tandoor/docker-compose.yml
Normal file
45
apps/tandoor/docker-compose.yml
Normal file
|
@ -0,0 +1,45 @@
|
|||
version: "3.7"
|
||||
services:
|
||||
recipes:
|
||||
container_name: tandoor
|
||||
image: ghcr.io/tandoorrecipes/recipes:1.5.4
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/staticfiles:/opt/recipes/staticfiles
|
||||
- ${APP_DATA_DIR}/mediafiles:/opt/recipes/mediafiles
|
||||
ports:
|
||||
- ${APP_PORT}:8080
|
||||
environment:
|
||||
- SECRET_KEY=${TANDOOR_SECRET_KEY}
|
||||
- DB_ENGINE=django.db.backends.postgresql
|
||||
- POSTGRES_HOST=db_recipes
|
||||
- POSTGRES_PORT=5432
|
||||
- POSTGRES_USER=djangodb
|
||||
- POSTGRES_PASSWORD=${TANDOOR_POSTGRESS_PASSWORD}
|
||||
- POSTGRES_DB=djangodb
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.tandoor-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.tandoor.loadbalancer.server.port: 8341
|
||||
# Web
|
||||
traefik.http.routers.tandoor-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.tandoor-insecure.entrypoints: web
|
||||
traefik.http.routers.tandoor-insecure.service: tandoor
|
||||
traefik.http.routers.tandoor-insecure.middlewares: tandoor-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.tandoor.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.tandoor.entrypoints: websecure
|
||||
traefik.http.routers.tandoor.service: tandoor
|
||||
traefik.http.routers.tandoor.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.tandoor-local-insecure.rule: Host(`tandoor.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.tandoor-local-insecure.entrypoints: web
|
||||
traefik.http.routers.tandoor-local-insecure.service: tandoor
|
||||
traefik.http.routers.tandoor-local-insecure.middlewares: tandoor-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.tandoor-local.rule: Host(`tandoor.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.tandoor-local.entrypoints: websecure
|
||||
traefik.http.routers.tandoor-local.service: tandoor
|
||||
traefik.http.routers.tandoor-local.tls: true
|
36
apps/tandoor/metadata/description.md
Normal file
36
apps/tandoor/metadata/description.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Tandoor Recipes
|
||||
|
||||
The recipe manager that allows you to manage your ever growing collection of digital recipes.
|
||||
|
||||
## Core Features
|
||||
- 🥗 **Manage your recipes** - Manage your ever growing recipe collection
|
||||
- 📆 **Plan** - multiple meals for each day
|
||||
- 🛒 **Shopping lists** - via the meal plan or straight from recipes
|
||||
- 📚 **Cookbooks** - collect recipes into books
|
||||
- 👪 **Share and collaborate** on recipes with friends and family
|
||||
|
||||
## Made by and for power users
|
||||
|
||||
- 🔍 Powerful & customizable **search** with fulltext support and [TrigramSimilarity](https://docs.djangoproject.com/en/3.0/ref/contrib/postgres/search/#trigram-similarity)
|
||||
- 🏷️ Create and search for **tags**, assign them in batch to all files matching certain filters
|
||||
- ↔️ Quickly merge and rename ingredients, tags and units
|
||||
- 📥️ **Import recipes** from thousands of websites supporting [ld+json or microdata](https://schema.org/Recipe)
|
||||
- ➗ Support for **fractions** or decimals
|
||||
- 🐳 Easy setup with **Docker** and included examples for **Kubernetes**, **Unraid** and **Synology**
|
||||
- 🎨 Customize your interface with **themes**
|
||||
- 📦 **Sync** files with Dropbox and Nextcloud
|
||||
|
||||
## All the must haves
|
||||
|
||||
- 📱Optimized for use on **mobile** devices
|
||||
- 🌍 localized in many languages thanks to the awesome community
|
||||
- 📥️ **Import your collection** from many other [recipe managers](https://docs.tandoor.dev/features/import_export/)
|
||||
- ➕ Many more like recipe scaling, image compression, printing views and supermarkets
|
||||
|
||||
This application is meant for people with a collection of recipes they want to share with family and friends or simply
|
||||
store them in a nicely organized way. A basic permission system exists but this application is not meant to be run as
|
||||
a public page.
|
||||
|
||||
## Docs
|
||||
|
||||
Documentation can be found [here](https://docs.tandoor.dev/).
|
BIN
apps/tandoor/metadata/logo.jpg
Normal file
BIN
apps/tandoor/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
Loading…
Reference in New Issue
Block a user