Skip to content

Commit

Permalink
Add missing env variables to run containers (#96)
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi Yamamoto <[email protected]>
  • Loading branch information
Takashiyamam committed Aug 30, 2024
1 parent cb4ca5f commit a4885c7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploys/holder/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ OIDC_ALLOW_HTTP=true

# Backend info
BACKEND_URL=http://localhost:3000
WEBAUTHN_RP_NAME=Cloud wallet
WEBAUTHN_RP_ID=localhost
3 changes: 3 additions & 0 deletions deploys/holder/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions deploys/issuer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions deploys/verifier/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4885c7

Please sign in to comment.