From 78f2deb392133f7d7fcc4a11b80c273349487736 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 7 Feb 2024 12:01:23 +0100 Subject: [PATCH] change config for autotest, nightly and generic - autotest & nigthly: no 2fa, no emails, create test users - generic: create test users (default vars are 2fa=true, emails=true, test_users=false) --- docker-compose__instance-autotest.yml | 3 +++ docker-compose__instance-nightly.yml | 3 +++ docker-compose__pilot-generic.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/docker-compose__instance-autotest.yml b/docker-compose__instance-autotest.yml index eb6d109..a44aa80 100644 --- a/docker-compose__instance-autotest.yml +++ b/docker-compose__instance-autotest.yml @@ -9,6 +9,9 @@ services: # temp disable 2fa login - DEPLOYMENT=DEVELOPMENT - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} + - CREATE_TEST_USERS=true + - ENABLE_EMAIL=false + - ENABLE_2FACTOR_AUTH=false - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} diff --git a/docker-compose__instance-nightly.yml b/docker-compose__instance-nightly.yml index e44aebe..530d063 100644 --- a/docker-compose__instance-nightly.yml +++ b/docker-compose__instance-nightly.yml @@ -9,6 +9,9 @@ services: # temp disable 2fa login - DEPLOYMENT=DEVELOPMENT - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} + - CREATE_TEST_USERS=true + - ENABLE_EMAIL=false + - ENABLE_2FACTOR_AUTH=false - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} diff --git a/docker-compose__pilot-generic.yml b/docker-compose__pilot-generic.yml index c57a9d3..4397ca9 100644 --- a/docker-compose__pilot-generic.yml +++ b/docker-compose__pilot-generic.yml @@ -6,6 +6,7 @@ services: image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest environment: - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} + - CREATE_TEST_USERS=true - DEPLOYMENT=PILOTS_EARLY - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*}