From a4885c729f48ead9d4ca81e0f9b0ba7b09288751 Mon Sep 17 00:00:00 2001 From: Takashi Yamamoto Date: Fri, 30 Aug 2024 03:45:13 -0400 Subject: [PATCH] Add missing env variables to run containers (#96) Signed-off-by: Takashi Yamamoto --- deploys/holder/.env.example | 2 ++ deploys/holder/docker-compose.yml | 3 +++ deploys/issuer/docker-compose.yml | 4 ++++ deploys/verifier/docker-compose.yml | 4 ++++ 4 files changed, 13 insertions(+) diff --git a/deploys/holder/.env.example b/deploys/holder/.env.example index 26fb42f7..8617a09c 100644 --- a/deploys/holder/.env.example +++ b/deploys/holder/.env.example @@ -19,3 +19,5 @@ OIDC_ALLOW_HTTP=true # Backend info BACKEND_URL=http://localhost:3000 +WEBAUTHN_RP_NAME=Cloud wallet +WEBAUTHN_RP_ID=localhost \ No newline at end of file diff --git a/deploys/holder/docker-compose.yml b/deploys/holder/docker-compose.yml index ff105a89..548983d4 100644 --- a/deploys/holder/docker-compose.yml +++ b/deploys/holder/docker-compose.yml @@ -27,11 +27,14 @@ services: - OIDC_REALM=${OIDC_REALM} - OIDC_ADMIN_CLIENT_ID=${OIDC_ADMIN_CLIENT_ID} - OIDC_ADMIN_CLIENT_SECRET=${OIDC_ADMIN_CLIENT_SECRET} + - OIDC_PUBLIC_CLIENT_ID=${OIDC_PUBLIC_CLIENT_ID} - DB_HOST=${DB_HOST} - DB_PORT=${DB_PORT} - DB_USERNAME=${DB_USERNAME} - DB_PASSWORD=${DB_PASSWORD} - DB_NAME=${DB_NAME} + - WEBAUTHN_RP_NAME=${WEBAUTHN_RP_NAME} + - WEBAUTHN_RP_ID=${WEBAUTHN_RP_ID} healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:3000/health'] interval: 30s diff --git a/deploys/issuer/docker-compose.yml b/deploys/issuer/docker-compose.yml index b5aa8f48..f686cf93 100644 --- a/deploys/issuer/docker-compose.yml +++ b/deploys/issuer/docker-compose.yml @@ -12,6 +12,10 @@ services: - CREDENTIALS_FOLDER=$CREDENTIALS_FOLDER - DB_TYPE=$DB_TYPE - DB_NAME=$DB_NAME + - DB_HOST=${DB_HOST} + - DB_PORT=${DB_PORT} + - DB_USERNAME=${DB_USERNAME} + - DB_PASSWORD=${DB_PASSWORD} volumes: - issuer:/home/node/app/data:rw - ./config/issuer-backend:/home/node/app/templates diff --git a/deploys/verifier/docker-compose.yml b/deploys/verifier/docker-compose.yml index 3d69fc37..c77f0db7 100644 --- a/deploys/verifier/docker-compose.yml +++ b/deploys/verifier/docker-compose.yml @@ -16,6 +16,10 @@ services: - KM_FOLDER=$KM_FOLDER - DB_TYPE=$DB_TYPE - DB_NAME=$DB_NAME + - DB_USERNAME=${DB_USERNAME} + - DB_PASSWORD=${DB_PASSWORD} + - DB_PORT=${DB_PORT} + - DB_HOST=${DB_HOST} healthcheck: test: ['CMD', 'curl', '-f', 'http://localhost:3000/health'] interval: 30s