Tandoor
Source: Portainer stack 16 (tandoor) on endpoint 2.
version: "2"
services:
db_recipes:
image: postgres:16-alpine
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${REDACTED}
volumes:
- ./volum1/Configs/Recipes/postgresql:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
retries: 5
restart: unless-stopped
recipes:
image: vabene1111/recipes:latest
container_name: tandoor-recipes
ports:
- 10333:80
volumes:
- ./volum1/Configs/Recipes/staticfiles:/opt/recipes/staticfiles
- ./volum1/Configs/Recipes/mediafiles:/opt/recipes/mediafiles
environment:
- SECRET_KEY=${REDACTED}
- DB_ENGINE=django.db.backends.postgresql
- POSTGRES_HOST=db_recipes
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${REDACTED}
- POSTGRES_DB=postgres
- ALLOWED_HOSTS=10.10.10.237,tandoor.mrdtech.me
restart: unless-stopped
depends_on:
db_recipes:
condition: service_healthy