From a56ef2162b698c94c70682e848817277f4c46b41 Mon Sep 17 00:00:00 2001 From: Rein Krul Date: Wed, 3 Jul 2024 17:20:22 +0200 Subject: [PATCH] Fixed selecting different VC type when issuing --- deploy/admin.config.yaml | 2 +- deploy/node.config.yaml | 1 - docker-compose.yaml | 17 ++++++----------- web/src/admin/IssueCredential.vue | 2 +- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/deploy/admin.config.yaml b/deploy/admin.config.yaml index 8689f2b..8cacebd 100644 --- a/deploy/admin.config.yaml +++ b/deploy/admin.config.yaml @@ -1,3 +1,3 @@ port: 1305 node: - address: "http://localhost:1323" + address: "http://localhost:8081" diff --git a/deploy/node.config.yaml b/deploy/node.config.yaml index 8c13058..e7f78c5 100644 --- a/deploy/node.config.yaml +++ b/deploy/node.config.yaml @@ -1,5 +1,4 @@ strictmode: false -url: https://mutt-classic-actually.ngrok-free.app datadir: /opt/nuts/data auth: irma: diff --git a/docker-compose.yaml b/docker-compose.yaml index b51e5ae..86cc2de 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,20 +1,15 @@ -version: '3' services: nuts-node: image: nutsfoundation/nuts-node:master ports: - - "1323:1323" - - "8443:8443" + - "8081:8081" + - "8080:8080" volumes: - - ./data/node:/opt/nuts/data - - ./deploy/node.config.yaml:/nuts.yaml - ./deploy/discovery:/opt/nuts/discovery:ro - - "./deploy/certificate-and-key.pem:/opt/nuts/certificate-and-key.pem:ro" - - "./deploy/truststore.pem:/opt/nuts/truststore.pem:ro" - # did:web resolver uses the OS CA bundle, but e2e tests use a self-signed CA which can be found in truststore.pem - # So we need to mount that file to the OS CA bundle location, otherwise did:web resolving will fail due to untrusted certs. - - "./deploy/truststore.pem:/etc/ssl/certs/Nuts_RootCA.pem:ro" - #- "../../tls-certs/truststore.pem:/etc/ssl/certs/truststore.pem:ro" + environment: + NUTS_CRYPTO_STORAGE: fs + NUTS_HTTP_INTERNAL_ADDRESS: :8081 + NUTS_URL: https://nuts.nl # nuts-admin: # build: # context: . diff --git a/web/src/admin/IssueCredential.vue b/web/src/admin/IssueCredential.vue index 79110ab..67aa11b 100644 --- a/web/src/admin/IssueCredential.vue +++ b/web/src/admin/IssueCredential.vue @@ -11,7 +11,7 @@
Credential type
-