This repository was archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
Getting started #55
Copy link
Copy link
Open
Description
I would appreciate a brief getting started paragraph in the README or from running docker linked therein.
A simple minded
git clone git@github.com:openwallet-foundation-labs/credhub.git
cd credhub
cp .env.example .env
docker compose up
does download the images and start the containers, but I am getting a few errors among which at least those look critical:
verifier-backend-1 | node:fs:1369
verifier-backend-1 | path = getValidatedPath(path);
verifier-backend-1 | ^
verifier-backend-1 |
verifier-backend-1 | TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
verifier-backend-1 | at mkdirSync (node:fs:1369:10)
verifier-backend-1 | at FileSystemKeyService.getKeys (/home/node/app/main.js:796:37)
verifier-backend-1 | at FileSystemKeyService.init (/home/node/app/main.js:783:54)
verifier-backend-1 | at FileSystemKeyService.onModuleInit (/home/node/app/main.js:777:20)
...
verifier-backend-1 exited with code 1
and
verifier-backend-1 | /home/node/app/node_modules/.pnpm/@nestjs+config@3.2.2_@nestjs+common@10.3.8_rxjs@7.8.1/node_modules/@nestjs/config/dist/config.module.js:86
verifier-backend-1 | throw new Error(`Config validation error: ${error.message}`);
verifier-backend-1 | ^
verifier-backend-1 |
verifier-backend-1 | Error: Config validation error: "CREDENTIALS_FOLDER" is required
verifier-backend-1 | at ConfigModule.forRoot (/home/node/app/node_modules/.pnpm/@nestjs+config@3.2.2_@nestjs+common@10.3.8_rxjs@7.8.1/node_modules/@nestjs/config/dist/config.module.js:86:23)
...
verifier-backend-1 exited with code 1
and
...
holder-backend-1 | [Nest] 9 - 06/03/2024, 8:24:23 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (8)...
holder-backend-1 | AggregateError [ECONNREFUSED]:
holder-backend-1 | at internalConnectMultiple (node:net:1117:18)
holder-backend-1 | at afterConnectMultiple (node:net:1684:7)
holder-backend-1 | [Nest] 9 - 06/03/2024, 8:24:26 PM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (9)...
holder-backend-1 | AggregateError [ECONNREFUSED]:
holder-backend-1 | at internalConnectMultiple (node:net:1117:18)
holder-backend-1 | at afterConnectMultiple (node:net:1684:7)
holder-backend-1 | [Nest] 9 - 06/03/2024, 8:24:26 PM ERROR [ExceptionHandler]
holder-backend-1 | AggregateError [ECONNREFUSED]:
holder-backend-1 | at internalConnectMultiple (node:net:1117:18)
holder-backend-1 | at afterConnectMultiple (node:net:1684:7)
holder-backend-1 exited with code 1
cre8
Metadata
Metadata
Assignees
Labels
No labels