From 4a99e8a4f871f566c97507d3145ced1ca5e17601 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 6 Feb 2024 15:51:01 +0100 Subject: [PATCH] enable 2fa for lafede and generic pilots --- .env.example | 1 + docker-compose__pilot-generic.yml | 3 ++- docker-compose__pilot-lafede.yml | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 2624406..12ea06b 100644 --- a/.env.example +++ b/.env.example @@ -95,6 +95,7 @@ IDHUB_SYNC_ORG_DEV='n' IDHUB_PILOT_TEST__IDHUB_DEPLOYMENT='PILOTS_EARLY' IDHUB_PILOT_TEST__ADMIN_EMAIL='idhub_admin@example.com' +IDHUB_PILOT_LAFEDE__ADMIN_EMAIL='masked@example.com' # AUTHENTIK aka goauthentik #### diff --git a/docker-compose__pilot-generic.yml b/docker-compose__pilot-generic.yml index 8f29614..8829c31 100644 --- a/docker-compose__pilot-generic.yml +++ b/docker-compose__pilot-generic.yml @@ -5,7 +5,8 @@ services: init: true image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest environment: - - DEPLOYMENT=${IDHUB_DEPLOYMENT} + - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} + - DEPLOYMENT=PILOTS_EARLY - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} diff --git a/docker-compose__pilot-lafede.yml b/docker-compose__pilot-lafede.yml index 3e10641..2f11406 100644 --- a/docker-compose__pilot-lafede.yml +++ b/docker-compose__pilot-lafede.yml @@ -5,7 +5,8 @@ services: init: true image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest environment: - - DEPLOYMENT=${IDHUB_DEPLOYMENT} + - ADMIN_EMAIL=${IDHUB_PILOT_LAFEDE__ADMIN_EMAIL} + - DEPLOYMENT=PILOTS_EARLY - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}