From d1a6e55086433d7c3b9d1f65a86300768236fac5 Mon Sep 17 00:00:00 2001 From: maslow Date: Mon, 31 Jul 2023 15:41:36 +0800 Subject: [PATCH] chore(build): update sharp version, fix deploy scripts --- .gitignore | 3 ++- build/Kubefile | 2 +- deploy/install-on-linux.sh | 2 +- server/package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cd5a2b63f3..86ea7bc202 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,5 @@ docs/.vitepress/.temp update-changelog.sh runtimes/nodejs-esm -yarn.lock \ No newline at end of file +yarn.lock +deploy/logs/sealos.log diff --git a/build/Kubefile b/build/Kubefile index e219e48804..84ef49e247 100644 --- a/build/Kubefile +++ b/build/Kubefile @@ -9,7 +9,7 @@ COPY start.sh ./start.sh ENV DOMAIN=127.0.0.1.nip.io ENV NAMESPACE=laf-system ENV REGION=default -ENV EXTERNAL_HTTP_SCHEMA=https +ENV EXTERNAL_HTTP_SCHEMA=http ENV INTERNAL_HTTP_SCHEMA=http ENV ENABLE_APISIX_HOST_NETWORK=true diff --git a/deploy/install-on-linux.sh b/deploy/install-on-linux.sh index d52e9e5101..5e8120d334 100644 --- a/deploy/install-on-linux.sh +++ b/deploy/install-on-linux.sh @@ -74,4 +74,4 @@ sealos run labring/openebs:v1.9.0 sealos run labring/cert-manager:v1.8.0 -sealos run --env DOMAIN=$DOMAIN --env DB_PV_SIZE=5Gi --env OSS_PV_SIZE=5Gi lafyun/laf:latest +sealos run --env DOMAIN=$DOMAIN --env DB_PV_SIZE=5Gi --env OSS_PV_SIZE=5Gi --env EXTERNAL_HTTP_SCHEMA=http lafyun/laf:latest diff --git a/server/package.json b/server/package.json index 044490d042..db4c0d8fd8 100644 --- a/server/package.json +++ b/server/package.json @@ -62,7 +62,7 @@ "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "rxjs": "^7.2.0", - "sharp": "^0.32.1", + "sharp": "^0.32.2", "typescript": "^4.9.3", "wechatpay-node-v3": "^2.1.1" },