From a42d5e39cfae8e40ff2f1c0bac94df9a3ce1d668 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 15 May 2025 15:22:24 +0200 Subject: [PATCH] Solved TAIGA and Peertube variable bug --- roles/docker-peertube/templates/env.j2 | 2 +- roles/docker-taiga/templates/env.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-peertube/templates/env.j2 b/roles/docker-peertube/templates/env.j2 index 69f1963f..a2cf823a 100644 --- a/roles/docker-peertube/templates/env.j2 +++ b/roles/docker-peertube/templates/env.j2 @@ -11,7 +11,7 @@ PEERTUBE_DB_HOSTNAME={{database_host}} PEERTUBE_WEBSERVER_HOSTNAME={{domains[application_id]}} PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback"] -applications[application_id].credentials.secret={{applications[application_id].credentials.secret}} +PEERTUBE_SECRET={{applications[application_id].credentials.secret}} # E-mail configuration PEERTUBE_SMTP_USERNAME={{ users['no-reply'].email }} diff --git a/roles/docker-taiga/templates/env.j2 b/roles/docker-taiga/templates/env.j2 index 7c12f10b..68ad4b31 100644 --- a/roles/docker-taiga/templates/env.j2 +++ b/roles/docker-taiga/templates/env.j2 @@ -6,7 +6,7 @@ TAIGA_SUBPATH = "" # it'll be appended to the TAIGA_DOMAIN (use either WEBSOCKETS_SCHEME = wss # events connection protocol (use either "ws" or "wss") # Taiga's Secret Key - Variable to provide cryptographic signing -applications[application_id].credentials.secret_key = "{{applications[application_id].credentials.secret_key}}" # Please, change it to an unpredictable value!! +TAIGA_SECRET_KEY = "{{applications[application_id].credentials.secret_key}}" SECRET_KEY = "{{applications[application_id].credentials.secret_key}}" # Taiga's Database settings - Variables to create the Taiga database and connect to it