Skip to content

Commit

Permalink
Add Docker Compose file for Tandoor setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonfire1119 committed Mar 5, 2024
1 parent 56d0734 commit 1dcaf00
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
115 changes: 115 additions & 0 deletions Apps/tandoor/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
# Configuration for tandoor setup

# Name of the big-bear-tandoor application
name: big-bear-tandoor

# Service definitions for the big-bear-tandoor application
services:
# Service name: big-bear-tandoor
# The `big-bear-tandoor` service definition
big-bear-tandoor:
# Name of the container
container_name: big-bear-tandoor

# Image to be used for the container
image: ghcr.io/tandoorrecipes/recipes:1.5.14

# Container restart policy
restart: unless-stopped

# Volumes to be mounted to the container
volumes:
- /DATA/AppData/$AppID/staticfiles:/opt/recipes/staticfiles
- /DATA/AppData/$AppID/mediafiles:/opt/recipes/mediafiles

# Ports mapping between host and container
ports:
# Mapping port 8080 of the host to port 8080 of the container
- "8080:8080"

# Environment variables to be passed to the container
environment:
- SECRET_KEY=6496f725-e4a4-4fa5-9f7b-db0114bc1568
- DB_ENGINE=django.db.backends.postgresql
- POSTGRES_HOST=big-bear-tandoor-db
- POSTGRES_PORT=5432
- POSTGRES_USER=tandoor
- POSTGRES_PASSWORD=100c7d31-9ec5-44ec-9101-e226c8e2420d
- POSTGRES_DB=tandoordb

# Network to be used by the container
networks:
- big_bear_tandoor_network

# Healthcheck configuration for the container
depends_on:
big-bear-tandoor-db:
condition: service_healthy

x-casaos: # CasaOS specific configuration
volumes:
- container: "/opt/recipes/staticfiles"
description:
en_us: "Container Path: /opt/recipes/staticfiles"
- container: "/opt/recipes/mediafiles"
description:
en_us: "Container Path: /opt/recipes/mediafiles"
ports:
- container: "8080"
description:
en_us: "Container Port: 8080"

big-bear-tandoor-db:
image: postgres:15-alpine
container_name: big-bear-tandoor-db
volumes:
- /DATA/AppData/$AppID/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_PORT=5432
- POSTGRES_USER=tandoor
- POSTGRES_PASSWORD=100c7d31-9ec5-44ec-9101-e226c8e2420d
- POSTGRES_DB=tandoordb
restart: unless-stopped
networks:
- big_bear_tandoor_network
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "tandoor"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s

# Network definitions for the big-bear-tandoor application
networks:
big_bear_tandoor_network:
driver: bridge

# CasaOS specific configuration
x-casaos:
# Supported CPU architectures for the application
architectures:
- amd64
- arm64
# Main service of the application
main: big-bear-tandoor
description:
# Description in English
en_us: Drop your collection of links and notes. Get Tandoor and never look back onto a time without recipe management, storage, sharing and collaborative cooking!
tagline:
# Short description or tagline in English
en_us: Recipe collection manager.
# Developer's name or identifier
developer: "tandoorrecipes"
# Author of this configuration
author: BigBearTechWorld
# Icon for the application
icon: https://github.com/walkxcode/dashboard-icons/blob/main/png/tandoor.png?raw=true
# Thumbnail image (currently empty)
thumbnail: ""
title:
# Title in English
en_us: Tandoor
# Application category
category: BigBearCasaOS
# Port mapping information
port_map: "8080"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ If you have a suggestion for an app, please post in the [BigBearCommunity](https
| RomM | zurdi15/romm | 2.3.1 | |
| Scrypted | koush/scrypted | 18-jammy-full.s6-v0.72.0 | [YouTube Video](https://community.bigbeartechworld.com/t/how-to-install-scrypted-on-casaos-using-bigbearcasaos/155) |
| Speedtest Tracker | ghcr.io/alexjustesen/speedtest-tracker | v0.18.2 | [YouTube Video](https://youtu.be/TLjS8xNNwis) | |
| Tandoor | ghcr.io/tandoorrecipes/recipes | 1.5.14 | | |
| TP-Link Omada Controller | mbentley/omada-controller | 5.13 | |
| Traccar | traccar/traccar | 5.12-ubuntu | [YouTube Video](https://youtu.be/zn_tu9r6g-w) |
| Trillium | zadam/trilium | 0.62.6 | [YouTube Video](https://youtu.be/h5ISPmUuBHs) | |
Expand Down

0 comments on commit 1dcaf00

Please sign in to comment.