7f1e26b071
- specify clearly the ADMIN vars are when initialization, also add the password - also allow override of domain for test instances
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
version: "3.9"
|
|
services:
|
|
|
|
idhub:
|
|
init: true
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
environment:
|
|
- DEBUG=true
|
|
- INITIAL_ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
|
- INITIAL_ADMIN_PASSWORD=${IDHUB_PILOT_TEST__ADMIN_PASSWORD}
|
|
- 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}
|
|
- DOMAIN=${DOMAIN:-idhub-autotest.demo.pangea.org}
|
|
- 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}
|
|
ports:
|
|
- 9041:9001
|
|
volumes:
|
|
- ./idhub__instance-autotest:/opt/idhub
|