2024-08-02 11:05:02 +00:00
|
|
|
services:
|
|
|
|
devicehub-django:
|
|
|
|
init: true
|
|
|
|
build:
|
|
|
|
dockerfile: docker/devicehub-django.Dockerfile
|
|
|
|
environment:
|
2024-10-31 10:54:41 +00:00
|
|
|
- DEBUG=${DEBUG:-false}
|
2025-01-21 13:13:23 +00:00
|
|
|
- DOMAIN=${DH_DOMAIN:-localhost}
|
|
|
|
- PORT=${DH_PORT:-8000}
|
|
|
|
- ALLOWED_HOSTS=${DH_ALLOWED_HOSTS:-$DH_DOMAIN}
|
2024-10-16 20:07:40 +00:00
|
|
|
- DEMO=${DEMO:-false}
|
2024-10-16 19:54:54 +00:00
|
|
|
- PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-}
|
2024-12-11 10:16:32 +00:00
|
|
|
- DPP=${DPP:-false}
|
2024-08-02 11:05:02 +00:00
|
|
|
volumes:
|
|
|
|
- .:/opt/devicehub-django
|
|
|
|
ports:
|
2025-01-21 13:13:23 +00:00
|
|
|
- ${DH_PORT}:${DH_PORT}
|
2025-01-22 15:26:29 +00:00
|
|
|
idhub:
|
|
|
|
init: true
|
|
|
|
image: farga.pangea.org/ereuse/idhub/latest
|
|
|
|
environment:
|
|
|
|
- DOMAIN=${IDHUB_DOMAIN:-localhost}
|
|
|
|
- ALLOWED_HOSTS=${IDHUB_ALLOWED_HOSTS:-$IDHUB_DOMAIN}
|
|
|
|
- DEBUG=true
|
|
|
|
- INITIAL_ADMIN_EMAIL=${IDHUB_ADMIN_EMAIL}
|
|
|
|
- INITIAL_ADMIN_PASSWORD=${IDHUB_ADMIN_PASSWD}
|
|
|
|
- CREATE_TEST_USERS=true
|
|
|
|
- ENABLE_EMAIL=${IDHUB_ENABLE_EMAIL:-true}
|
|
|
|
- ENABLE_2FACTOR_AUTH=${IDHUB_ENABLE_2FACTOR_AUTH:-true}
|
|
|
|
- ENABLE_DOMAIN_CHECKER=${IDHUB_ENABLE_DOMAIN_CHECKER:-true}
|
|
|
|
- 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}
|
|
|
|
ports:
|
|
|
|
- 9001:9001
|
2024-08-02 11:05:02 +00:00
|
|
|
|