Add Tandoor recipe management #23

Merged
redbeardymcgee merged 1 commit from feat/tandoor into main 2024-12-12 00:24:13 +00:00
8 changed files with 74 additions and 0 deletions

View file

@ -208,6 +208,7 @@ that I intend to add to this repository. It is still growing, and I welcome
- [x] [Sonarr](https://sonarr.tv)
- [x] [Stirling PDF](https://stirlingpdf.io)
- [ ] [Supervisord](http://supervisord.org/)
- [ ] [TandoorRecipes](https://github.com/TandoorRecipes/recipes)
- [x] [traggo](https://traggo.net)
- [ ] [Ubooquity](https://vaemendis.net/ubooquity/)
- [ ] [UrBackup](https://urbackup.org)

View file

@ -0,0 +1,19 @@
[Unit]
Description=Tandoor postgres
Wants=tandoor.service
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=docker.io/postgres:16-alpine
ContainerName=tandoor-db
HostName=tandoor-db
Volume=tandoor-db:/var/lib/postgresql/data
EnvironmentFile=tandoor.env

View file

@ -0,0 +1,3 @@
[Volume]
VolumeName=tandoor-db

View file

@ -0,0 +1,3 @@
[Volume]
VolumeName=tandoor-media

View file

@ -0,0 +1,3 @@
[Volume]
VolumeName=tandoor-nginx-config

View file

@ -0,0 +1,3 @@
[Volume]
VolumeName=tandoor-static

View file

@ -0,0 +1,24 @@
[Unit]
Description=Tandoor
Requires=tandoor-db.service
After=tandoor-db.service
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=docker.io/vabene1111/recipes
ContainerName=tandoor
HostName=tandoor
Volume=tandoor-db:/var/lib/postgresql/data
Volume=tandoor-static:/opt/recipes/staticfiles
Volume=tandoor-media:/opt/recipes/mediafiles
Volume=tandoor-external:/opt/recipes/externalfiles
Volume=tandoor-nginx-config:/opt/recipes/nginx/conf.d
EnvironmentFile=tandoor.env

View file

@ -0,0 +1,18 @@
# ---------------------------------------------------------------------------
# This template contains only required options.
# Visit the docs to find more https://docs.tandoor.dev/system/configuration/
# ---------------------------------------------------------------------------
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
SECRET_KEY=
# allowed hosts (see documentation), should be set to your hostname(s) but might be * (default) for some proxies/providers
# ALLOWED_HOSTS=recipes.mydomain.com
# add only a database password if you want to run with the default postgres, otherwise change settings accordingly
DB_ENGINE=django.db.backends.postgresql
POSTGRES_HOST=db_recipes
POSTGRES_DB=djangodb
POSTGRES_PORT=5432
POSTGRES_USER=djangouser
POSTGRES_PASSWORD=