pilot xo9b: enable test users and specific admins

- deployment env var is going to disappear because is no longer
  relevant (I will do it in the next commit)
This commit is contained in:
pedro 2024-02-07 12:28:59 +01:00
parent 78f2deb392
commit 952b659b52
1 changed files with 10 additions and 2 deletions

View File

@ -5,7 +5,11 @@ services:
init: true init: true
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
environment: environment:
- DEPLOYMENT=${IDHUB_DEPLOYMENT} - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
- CREATE_TEST_USERS=true
# when enabling this pilot for its end users
# ADMIN_EMAIL=IDHUB_PILOT_XO9B_IDHUB1__ADMIN_EMAIL
# TODO destroy CREATE_TEST_USERS=true
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
- ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*}
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
@ -37,7 +41,11 @@ services:
init: true init: true
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
environment: environment:
- DEPLOYMENT=${IDHUB_DEPLOYMENT} - ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
- CREATE_TEST_USERS=true
# when enabling this pilot for its end users
# ADMIN_EMAIL=IDHUB_PILOT_XO9B_IDHUB2__ADMIN_EMAIL
# TODO destroy CREATE_TEST_USERS=true
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
- ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*} - ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*}
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/} - STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}