pilot setem: also create test users

This commit is contained in:
pedro 2024-02-21 13:30:10 +01:00
parent 88afbe44ab
commit dff8b77777
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,10 @@ services:
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
environment: environment:
- ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} - 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/}
@ -38,6 +42,10 @@ services:
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
environment: environment:
- ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL} - 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/}