2024-01-25 14:13:08 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
|
|
|
|
idhub:
|
|
|
|
init: true
|
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
|
|
environment:
|
2024-02-07 11:43:52 +00:00
|
|
|
- DEBUG=true
|
2024-02-02 18:36:57 +00:00
|
|
|
- ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
2024-02-07 11:01:23 +00:00
|
|
|
- CREATE_TEST_USERS=true
|
|
|
|
- ENABLE_EMAIL=false
|
|
|
|
- ENABLE_2FACTOR_AUTH=false
|
2024-01-25 14:13:08 +00:00
|
|
|
- SECRET_KEY=${IDHUB_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
|
|
|
- ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-*}
|
|
|
|
- STATIC_ROOT=${IDHUB_STATIC_ROOT:-/static/}
|
|
|
|
- MEDIA_ROOT=${IDHUB_MEDIA_ROOT:-/media/}
|
|
|
|
- PORT=${IDHUB_PORT:-9001}
|
|
|
|
- DJANGO_SUPERUSER_USERNAME=${IDHUB_USER}
|
|
|
|
- DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD}
|
|
|
|
- DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL}
|
2024-02-29 19:46:31 +00:00
|
|
|
- DOMAIN=idhub-autotest.demo.pangea.org
|
2024-02-06 14:32:51 +00:00
|
|
|
- CSRF_TRUSTED_ORIGINS=https://idhub-autotest.demo.pangea.org
|
2024-01-25 14:13:08 +00:00
|
|
|
- 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=['FederationMembership', 'CourseCredential']
|
|
|
|
ports:
|
2024-01-25 14:24:05 +00:00
|
|
|
- 9041:9001
|
2024-01-25 14:13:08 +00:00
|
|
|
volumes:
|
2024-02-05 19:23:41 +00:00
|
|
|
- ./idhub__instance-autotest:/opt/idhub
|