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' ```
This commit is contained in:
parent
dff8b77777
commit
95d99c29e1
|
@ -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}
|
||||
|
|
Reference in New Issue