File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ services:
1313 image : semitechnologies/weaviate:${WEAVIATE_VERSION}
1414 ports :
1515 - 8085:8085
16+ - 50056:50056
1617 restart : on-failure:0
1718 environment :
19+ GRPC_PORT : 50056
1820 PERSISTENCE_DATA_PATH : ' /var/lib/weaviate'
1921 AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED : ' false'
2022 AUTHENTICATION_OIDC_ENABLED : ' true'
Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ describe('connection', () => {
137137 it ( 'makes a logged-in request with API key' , async ( ) => {
138138 const client = await weaviate . connectToLocal ( {
139139 port : 8085 ,
140+ grpcPort : 50056 ,
140141 authCredentials : new ApiKey ( 'my-secret-key' ) ,
141142 } ) ;
142143
@@ -153,6 +154,7 @@ describe('connection', () => {
153154 it ( 'makes a logged-in request with API key as string' , async ( ) => {
154155 const client = await weaviate . connectToLocal ( {
155156 port : 8085 ,
157+ grpcPort : 50056 ,
156158 authCredentials : 'my-secret-key' ,
157159 } ) ;
158160
@@ -188,6 +190,7 @@ describe('connection', () => {
188190 const accessToken = ( dummy as any ) . oidcAuth ?. accessToken || '' ;
189191 const client = await weaviate . connectToLocal ( {
190192 port : 8085 ,
193+ grpcPort : 50056 ,
191194 authCredentials : new AuthAccessTokenCredentials ( {
192195 accessToken : accessToken ,
193196 expiresIn : 900 ,
@@ -254,6 +257,7 @@ describe('connection', () => {
254257 try {
255258 await weaviate . connectToLocal ( {
256259 port : 8085 ,
260+ grpcPort : 50056 ,
257261 } ) ;
258262 throw new Error ( 'Promise should have been rejected' ) ;
259263 } catch ( error : any ) {
You can’t perform that action at this time.
0 commit comments