Skip to content

Commit

Permalink
chore: modify .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Nov 11, 2023
1 parent 59c875d commit 370c79c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
34 changes: 34 additions & 0 deletions apps/api/.env.development.bak
Original file line number Diff line number Diff line change
@@ -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 =
4 changes: 3 additions & 1 deletion apps/api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ dist
.local

# local env files
.env.*
.env.development
.env.production

.eslintcache

# Log files
Expand Down

0 comments on commit 370c79c

Please sign in to comment.