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:
pedro 2024-02-21 13:56:37 +01:00
parent dff8b77777
commit 95d99c29e1
1 changed files with 2 additions and 0 deletions

View File

@ -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}