From a0b57c3dfc5175def04e6119df66e79a43b9b4b8 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Fri, 17 Feb 2023 17:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hospital-deploy.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hospital-deploy.sh b/hospital-deploy.sh index 470fbe8..9f78911 100644 --- a/hospital-deploy.sh +++ b/hospital-deploy.sh @@ -7,6 +7,8 @@ cd /data/www/hospital-applets-api || exit echo " APP_NAME=gdxz APP_ENV=dev + +# [mysql] DB_DRIVER=mysql DB_HOST=123.57.91.25 DB_PORT=3306 @@ -16,12 +18,17 @@ DB_PASSWORD=Wucongxing1.. DB_CHARSET=utf8mb4 DB_COLLATION=utf8mb4_unicode_ci DB_PREFIX=gdxz_ + +# [redis] REDIS_HOST=123.57.91.25 REDIS_AUTH=Wucongxing1.. REDIS_PORT=6379 REDIS_DB=0 -# jwt + +# [jwt] JWT_SECRET=X8p44RvrFDlnrvHLN2juwK1sSAlFtfvdZJLLKt97DLf50W7TPOzCKDUZdVkW+PZzWIqPT8fyoXGBAcBK2faHiA== +JWT_TTL=604800 +JWT_ALGO=HS256 ">.env #nginx_upstrame="/Users/wucongxing/Desktop/test/hospital-upstream.conf"