Add Tandoor recipe management #23
8 changed files with 74 additions and 0 deletions
|
@ -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)
|
||||
|
|
19
quadlets/tandoor/tandoor-db.container
Normal file
19
quadlets/tandoor/tandoor-db.container
Normal 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
|
3
quadlets/tandoor/tandoor-db.volume
Normal file
3
quadlets/tandoor/tandoor-db.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=tandoor-db
|
||||
|
3
quadlets/tandoor/tandoor-media.volume
Normal file
3
quadlets/tandoor/tandoor-media.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=tandoor-media
|
||||
|
3
quadlets/tandoor/tandoor-nginx-config.volume
Normal file
3
quadlets/tandoor/tandoor-nginx-config.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=tandoor-nginx-config
|
||||
|
3
quadlets/tandoor/tandoor-static.volume
Normal file
3
quadlets/tandoor/tandoor-static.volume
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Volume]
|
||||
VolumeName=tandoor-static
|
||||
|
24
quadlets/tandoor/tandoor.container
Normal file
24
quadlets/tandoor/tandoor.container
Normal 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
|
18
quadlets/tandoor/tandoor.env
Normal file
18
quadlets/tandoor/tandoor.env
Normal 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=
|
Loading…
Add table
Reference in a new issue