From 370c79c35530a58ca65f37b43ca0382dedf4f598 Mon Sep 17 00:00:00 2001 From: Kuizuo Date: Sat, 11 Nov 2023 22:07:38 +0800 Subject: [PATCH] chore: modify .gitignore --- apps/api/.env.development.bak | 34 ++++++++++++++++++++++++++++++++++ apps/api/.gitignore | 4 +++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 apps/api/.env.development.bak diff --git a/apps/api/.env.development.bak b/apps/api/.env.development.bak new file mode 100644 index 0000000..34df15c --- /dev/null +++ b/apps/api/.env.development.bak @@ -0,0 +1,34 @@ +# logger +LOGGER_LEVEL = debug + +# security +JWT_SECRET = admin!@#123 +JWT_EXPIRE = 86400 +REFRESH_TOKEN_SECRET = admin!@#123 +REFRESH_TOKEN_EXPIRE = 2592000 + +# swagger +SWAGGER_ENABLE = true +SWAGGER_PATH = api-docs +SWAGGER_VERSION = 1.0 + +# db +DB_HOST = 127.0.0.1 +DB_PORT = 3306 +DB_DATABASE = nest_vben_admin +DB_USERNAME = root +DB_PASSWORD = Aa123456 +DB_SYNCHRONIZE = true +DB_LOGGING = ["error"] + +# redis +REDIS_PORT = 6379 +REDIS_HOST = 127.0.0.1 +REDIS_PASSWORD = +REDIS_DB = 0 + +# smtp +SMTP_HOST = smtp.qq.com +SMTP_PORT = 465 +SMTP_USER = +SMTP_PASS = diff --git a/apps/api/.gitignore b/apps/api/.gitignore index aaf91f0..139637f 100644 --- a/apps/api/.gitignore +++ b/apps/api/.gitignore @@ -9,7 +9,9 @@ dist .local # local env files -.env.* +.env.development +.env.production + .eslintcache # Log files