From 52f765898eb9dc418aac21b1636dad27e7900239 Mon Sep 17 00:00:00 2001 From: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com> Date: Tue, 7 Jul 2026 23:23:40 +0400 Subject: [PATCH] Fix Tandoor Recipes service port --- blueprints/tandoor-recipes/docker-compose.yml | 4 +++- blueprints/tandoor-recipes/template.toml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/blueprints/tandoor-recipes/docker-compose.yml b/blueprints/tandoor-recipes/docker-compose.yml index 85339b56..4bfd1d3b 100644 --- a/blueprints/tandoor-recipes/docker-compose.yml +++ b/blueprints/tandoor-recipes/docker-compose.yml @@ -22,11 +22,13 @@ services: POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_DB: ${POSTGRES_DB} + ALLOWED_HOSTS: ${ALLOWED_HOSTS} + CSRF_TRUSTED_ORIGINS: ${CSRF_TRUSTED_ORIGINS} volumes: - tandoor_staticfiles:/opt/recipes/staticfiles - tandoor_mediafiles:/opt/recipes/mediafiles ports: - - "8080" + - "80" volumes: tandoor_db_data: diff --git a/blueprints/tandoor-recipes/template.toml b/blueprints/tandoor-recipes/template.toml index c8c45aa5..1484b958 100644 --- a/blueprints/tandoor-recipes/template.toml +++ b/blueprints/tandoor-recipes/template.toml @@ -8,11 +8,13 @@ mounts = [] [[config.domains]] serviceName = "tandoor-recipes" -port = 8080 +port = 80 host = "${main_domain}" [config.env] SECRET_KEY = "${secret_key}" +ALLOWED_HOSTS = "${main_domain}" +CSRF_TRUSTED_ORIGINS = "https://${main_domain}" POSTGRES_PASSWORD = "${postgres_password}" POSTGRES_USER = "tandoor" POSTGRES_DB = "tandoor"