From 95d99c29e11ca46845fbd962776a2e394ebb582b Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 21 Feb 2024 13:56:37 +0100 Subject: [PATCH] pilot setem: add DOMAIN env var with cayo, we saw that it failed because domain env var gives the wrong DOMAIN ``` didkit.DIDKitException: Unable to resolve: Error sending HTTP request : builder error: invalid domain character > /opt/idhub/idhub/models.py(670)issue() -> data = sign_credential( (Pdb) p domain 'http://172.27.0.2:9003' ``` --- docker-compose__pilot-setem.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose__pilot-setem.yml b/docker-compose__pilot-setem.yml index 2316fe5..b04474b 100644 --- a/docker-compose__pilot-setem.yml +++ b/docker-compose__pilot-setem.yml @@ -19,6 +19,7 @@ services: - DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD} - DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL} - CSRF_TRUSTED_ORIGINS=https://idhub1-setem.demo.pangea.org + - DOMAIN=idhub1-setem.demo.pangea.org - DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL} - EMAIL_HOST=${IDHUB_EMAIL_HOST} - EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER} @@ -55,6 +56,7 @@ services: - DJANGO_SUPERUSER_PASSWORD=${IDHUB_PASSWD} - DJANGO_SUPERUSER_EMAIL=${IDHUB_EMAIL} - CSRF_TRUSTED_ORIGINS=https://idhub2-setem.demo.pangea.org + - DOMAIN=idhub2-setem.demo.pangea.org - DEFAULT_FROM_EMAIL=${IDHUB_DEFAULT_FROM_EMAIL} - EMAIL_HOST=${IDHUB_EMAIL_HOST} - EMAIL_HOST_USER=${IDHUB_EMAIL_HOST_USER}