From 70127e7ae56b73a33832b8203ff37bd94fbae438 Mon Sep 17 00:00:00 2001 From: Leo Zhang Date: Mon, 27 May 2024 22:06:28 -0400 Subject: [PATCH] add environment variable for ngrok authtoken --- backend/typescript/package.json | 4 ++-- backend/typescript/prisma/schema.prisma | 1 + docker-compose.yml | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/typescript/package.json b/backend/typescript/package.json index 95fbdfa..5dddf62 100644 --- a/backend/typescript/package.json +++ b/backend/typescript/package.json @@ -13,7 +13,7 @@ "author": "", "license": "ISC", "dependencies": { - "@prisma/client": "^5.11.0", + "@prisma/client": "^5.14.0", "@types/graphql-upload": "^8.0.6", "@types/json2csv": "^5.0.3", "@types/multer": "^1.4.6", @@ -74,7 +74,7 @@ "mongodb-memory-server": "^6.9.6", "nodemon": "^2.0.7", "prettier": "^2.2.1", - "prisma": "^5.11.0", + "prisma": "^5.14.0", "ts-jest": "^27.0.3", "typescript": "^4.1.5" }, diff --git a/backend/typescript/prisma/schema.prisma b/backend/typescript/prisma/schema.prisma index a9944ce..4c8412e 100644 --- a/backend/typescript/prisma/schema.prisma +++ b/backend/typescript/prisma/schema.prisma @@ -1,5 +1,6 @@ generator client { provider = "prisma-client-js" + binaryTargets = ["native", "linux-arm64-openssl-3.0.x"] } datasource db { diff --git a/docker-compose.yml b/docker-compose.yml index 664ee44..4b3df0d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,7 +62,6 @@ services: depends_on: - ts-backend environment: - - NGROK_AUTHTOKEN=2gqfbeXPRkhFsAGXsIpFZJCiitr_7VbDSwxB2h9Z6HbeK259K - + - NGROK_AUTHTOKEN=${auth_token} volumes: postgres_data: