2024-03-06 18:07:30 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
|
|
|
|
idhub1:
|
|
|
|
init: true
|
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
|
|
environment:
|
2024-03-18 20:10:05 +00:00
|
|
|
- DOMAIN=idhub1-nightly.demo.pangea.org
|
2024-03-06 18:07:30 +00:00
|
|
|
- DEBUG=true
|
2024-03-07 14:14:07 +00:00
|
|
|
- INITIAL_ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
|
|
|
- INITIAL_ADMIN_PASSWORD=${IDHUB_PILOT_TEST__ADMIN_PASSWORD}
|
2024-03-06 18:07:30 +00:00
|
|
|
- CREATE_TEST_USERS=true
|
|
|
|
- ENABLE_EMAIL=false
|
|
|
|
- ENABLE_2FACTOR_AUTH=false
|
|
|
|
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
|
|
|
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
|
|
|
|
- MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/}
|
|
|
|
- PORT=${IDHUB_PORT:-9001}
|
|
|
|
- DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL}
|
|
|
|
- EMAIL_HOST=${IDHUB_EMAIL_HOST}
|
|
|
|
- EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER}
|
|
|
|
- EMAIL_HOST_PASSWORD=${IDHUB_EMAIL_HOST_PASSWORD}
|
|
|
|
- EMAIL_PORT=${IDHUB_EMAIL_PORT}
|
|
|
|
- EMAIL_USE_TLS=${IDHUB_EMAIL_USE_TLS}
|
|
|
|
- EMAIL_BACKEND=${IDHUB_EMAIL_BACKEND}
|
|
|
|
- SUPPORTED_CREDENTIALS=['CourseCredential', 'EOperatorClaim', 'FederationMembership', 'FinancialVulnerabilityCredential', 'MembershipCard']
|
|
|
|
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
|
|
|
- OIDC_ORGS=examples/organizations__instance_nightly-pair.csv
|
|
|
|
- OIDC_REDIRECT=true
|
|
|
|
ports:
|
|
|
|
- 9081:9001
|
|
|
|
volumes:
|
|
|
|
- ./idhub1__instance-nightly-pair:/opt/idhub
|
|
|
|
- sharedsecret:/sharedsecret:rw
|
|
|
|
idhub2:
|
|
|
|
init: true
|
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
|
|
environment:
|
2024-03-18 20:10:05 +00:00
|
|
|
- DOMAIN=DOMAIN:-idhub2-nightly.demo.pangea.org
|
2024-03-06 18:07:30 +00:00
|
|
|
- DEBUG=true
|
2024-03-08 12:29:07 +00:00
|
|
|
- INITIAL_ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
|
|
|
- INITIAL_ADMIN_PASSWORD=${IDHUB_PILOT_TEST__ADMIN_PASSWORD}
|
2024-03-06 18:07:30 +00:00
|
|
|
- CREATE_TEST_USERS=true
|
|
|
|
- ENABLE_EMAIL=false
|
|
|
|
- ENABLE_2FACTOR_AUTH=false
|
|
|
|
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
|
|
|
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
|
|
|
|
- MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/}
|
|
|
|
- PORT=${IDHUB_PORT:-9001}
|
|
|
|
- DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL}
|
|
|
|
- EMAIL_HOST=${IDHUB_EMAIL_HOST}
|
|
|
|
- EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER}
|
|
|
|
- EMAIL_HOST_PASSWORD=${IDHUB_EMAIL_HOST_PASSWORD}
|
|
|
|
- EMAIL_PORT=${IDHUB_EMAIL_PORT}
|
|
|
|
- EMAIL_USE_TLS=${IDHUB_EMAIL_USE_TLS}
|
|
|
|
- EMAIL_BACKEND=${IDHUB_EMAIL_BACKEND}
|
2024-03-07 15:37:14 +00:00
|
|
|
# only the one we support for OIDC flow, if we add more, it reaches a UX bug
|
|
|
|
- SUPPORTED_CREDENTIALS=['FinancialVulnerabilityCredential']
|
2024-03-06 18:07:30 +00:00
|
|
|
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
|
|
|
- OIDC_ORGS=examples/organizations__instance_nightly-pair.csv
|
|
|
|
- OIDC_REDIRECT=true
|
|
|
|
ports:
|
|
|
|
- 9082:9001
|
|
|
|
volumes:
|
|
|
|
- ./idhub2__instance-nightly-pair:/opt/idhub
|
|
|
|
- sharedsecret:/sharedsecret:rw
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
sharedsecret:
|