2024-01-12 09:30:55 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
|
|
|
|
idhub1:
|
|
|
|
init: true
|
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
|
|
environment:
|
2024-02-21 12:19:44 +00:00
|
|
|
- ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
2024-02-21 12:30:10 +00:00
|
|
|
- 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
|
2024-01-12 09:30:55 +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}
|
|
|
|
- CSRF_TRUSTED_ORIGINS=https://idhub1-setem.demo.pangea.org
|
2024-02-21 12:56:37 +00:00
|
|
|
- DOMAIN=idhub1-setem.demo.pangea.org
|
2024-01-12 09:30:55 +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}
|
|
|
|
- RESPONSE_URI=https://idhub1-setem.demo.pangea.org/oidc4vp/
|
|
|
|
- ALLOW_CODE_URI=https://idhub1-setem.demo.pangea.org/oidc4vp/allow_code
|
|
|
|
- SUPPORTED_CREDENTIALS=['MembershipCard']
|
2024-01-24 13:46:26 +00:00
|
|
|
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
|
|
|
- ORG_FILE=examples/organizations__pilot_setem.csv
|
2024-01-12 09:30:55 +00:00
|
|
|
ports:
|
2024-01-12 09:33:53 +00:00
|
|
|
- 9011:9001
|
2024-01-12 09:30:55 +00:00
|
|
|
volumes:
|
|
|
|
- ./idhub1__pilot-setem:/opt/idhub
|
|
|
|
- sharedsecret:/sharedsecret:rw
|
|
|
|
|
|
|
|
idhub2:
|
|
|
|
init: true
|
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/idhub:latest
|
|
|
|
environment:
|
2024-02-21 12:19:44 +00:00
|
|
|
- ADMIN_EMAIL=${IDHUB_PILOT_TEST__ADMIN_EMAIL}
|
2024-02-21 12:30:10 +00:00
|
|
|
- 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
|
2024-01-12 09:30:55 +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:-9002}
|
|
|
|
- DJANGO_SUPERUSER_USERNAME=${IDHUB_USER}
|
|
|
|
- DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD}
|
|
|
|
- DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL}
|
|
|
|
- CSRF_TRUSTED_ORIGINS=https://idhub2-setem.demo.pangea.org
|
2024-02-21 12:56:37 +00:00
|
|
|
- DOMAIN=idhub2-setem.demo.pangea.org
|
2024-01-12 09:30:55 +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}
|
|
|
|
- RESPONSE_URI=https://idhub2-setem.demo.pangea.org/oidc4vp/
|
|
|
|
- ALLOW_CODE_URI=https://idhub2-setem.demo.pangea.org/oidc4vp/allow_code
|
2024-01-24 17:05:41 +00:00
|
|
|
- SUPPORTED_CREDENTIALS=['MembershipCard']
|
2024-01-24 13:46:26 +00:00
|
|
|
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
|
|
|
- ORG_FILE=examples/organizations__pilot_setem.csv
|
2024-01-12 09:30:55 +00:00
|
|
|
ports:
|
2024-01-12 09:33:53 +00:00
|
|
|
- 9012:9002
|
2024-01-12 09:30:55 +00:00
|
|
|
volumes:
|
|
|
|
- ./idhub2__pilot-setem:/opt/idhub
|
|
|
|
- sharedsecret:/sharedsecret:rw
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
sharedsecret:
|