File tree 12 files changed +355
-292
lines changed
12 files changed +355
-292
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ ENABLE_AUTH=false
25
25
26
26
# credential service
27
27
IDENTITY_BASE_URL = http://identity:3332
28
- SCHEMA_BASE_URL = http://schema:3333
28
+ SCHEMA_BASE_URL = http://credential- schema:3333
29
29
CREDENTIAL_SERVICE_BASE_URL = https://example.com/credentials
30
30
JWKS_URI =
31
31
ENABLE_AUTH = false
Original file line number Diff line number Diff line change @@ -87,11 +87,11 @@ services:
87
87
- signature_v2_delete_url=${SIGNATURE_V2_DELETE_URL-http://credential:3000/credentials/{id}}
88
88
- signature_v2_verify_url=${SIGNATURE_V2_VERIFY_URL-http://credential:3000/credentials/{id}/verify}
89
89
- signature_v2_revocation_list_url=${SIGNATURE_V2_REVOCATION_LIST_URL-http://credential:3000/credentials/revocation-list?issuerId={issuerDid}&page={page}&limit={limit}}
90
- - signature_v2_schema_health_check_url=${SIGNATURE_V2_SCHEMA_HEALTH_CHECK_URL-http://schema:3333/health}
91
- - signature_v2_schema_create_url=${SIGNATURE_V2_SCHEMA_CREATE_URL-http://schema:3333/credential-schema}
92
- - signature_v2_schema_update_url=${SIGNATURE_V2_SCHEMA_UPDATE_URL-http://schema:3333/credential-schema/{id}/{version}}
93
- - signature_v2_schema_get_by_id_and_version_url=${SIGNATURE_V2_SCHEMA_GET_BY_ID_AND_VERSION_URL-http://schema:3333/credential-schema/{id}/{version}
94
- - signature_v2_schema_search_by_tags_url=${SIGNATURE_V2_SCHEMA_GET_BY_TAGS_URL-http://schema:3333/credential-schema?tags={tags}}
90
+ - signature_v2_schema_health_check_url=${SIGNATURE_V2_SCHEMA_HEALTH_CHECK_URL-http://credential- schema:3333/health}
91
+ - signature_v2_schema_create_url=${SIGNATURE_V2_SCHEMA_CREATE_URL-http://credential- schema:3333/credential-schema}
92
+ - signature_v2_schema_update_url=${SIGNATURE_V2_SCHEMA_UPDATE_URL-http://credential- schema:3333/credential-schema/{id}/{version}}
93
+ - signature_v2_schema_get_by_id_and_version_url=${SIGNATURE_V2_SCHEMA_GET_BY_ID_AND_VERSION_URL-http://credential- schema:3333/credential-schema/{id}/{version}
94
+ - signature_v2_schema_search_by_tags_url=${SIGNATURE_V2_SCHEMA_GET_BY_TAGS_URL-http://credential- schema:3333/credential-schema?tags={tags}}
95
95
- sign_url=http://certificate-signer:8079/sign
96
96
- verify_url=http://certificate-signer:8079/verify
97
97
- sign_health_check_url=http://certificate-signer:8079/health
Original file line number Diff line number Diff line change 1
- FROM node:16 AS install
1
+ FROM node:20.11.0-alpine3.18 AS install
2
+ RUN apk add openssl curl
2
3
WORKDIR /app
3
4
COPY package.json yarn.lock ./
4
5
RUN yarn
5
6
6
- FROM node:16 as build
7
+ FROM node:20.11.0-alpine3.18 as build
8
+ RUN apk add openssl curl
7
9
WORKDIR /app
8
10
COPY prisma ./prisma/
9
11
COPY --from=install /app/node_modules ./node_modules
10
12
RUN npx prisma generate
11
13
COPY . .
12
14
RUN yarn build
13
15
14
- FROM node:16
16
+ FROM node:20.11.0-alpine3.18
17
+ RUN apk add openssl curl
15
18
WORKDIR /app
16
19
COPY --from=build /app/dist ./dist
17
20
COPY --from=build /app/package*.json ./
Original file line number Diff line number Diff line change 1
- FROM node:16 AS install
1
+ FROM node:20.11.0-alpine3.18 AS install
2
+ RUN apk add openssl curl
2
3
WORKDIR /app
3
4
COPY package.json yarn.lock ./
4
5
RUN yarn
5
6
6
- FROM node:16 as test
7
+ FROM node:20.11.0-alpine3.18 as test
8
+ RUN apk add openssl curl
7
9
WORKDIR /app
8
10
COPY prisma ./prisma/
9
11
COPY --from=install /app/node_modules ./node_modules
Original file line number Diff line number Diff line change 34
34
"@nestjs/platform-fastify" : " ^9.2.1" ,
35
35
"@nestjs/swagger" : " ^6.1.4" ,
36
36
"@nestjs/terminus" : " ^10.0.1" ,
37
- "@prisma/client" : " 4.7 .1" ,
37
+ "@prisma/client" : " 4.8 .1" ,
38
38
"ajv" : " ^8.11.2" ,
39
39
"axios" : " ^1.4.0" ,
40
40
"cache-manager" : " ^5.1.4" ,
46
46
"passport" : " ^0.6.0" ,
47
47
"passport-http" : " ^0.3.0" ,
48
48
"passport-jwt" : " ^4.0.1" ,
49
- "prisma" : " 4.7 .1" ,
49
+ "prisma" : " 4.8 .1" ,
50
50
"reflect-metadata" : " ^0.1.13" ,
51
51
"rimraf" : " ^3.0.2" ,
52
52
"rxjs" : " ^7.2.0"
You can’t perform that action at this time.
0 commit comments