21 lines
620 B
Plaintext
21 lines
620 B
Plaintext
|
PORT=43124
|
|||
|
|
|||
|
# nacos中注册服务的名称
|
|||
|
NACOS_SERVICE_NAME=cert-authenticate
|
|||
|
NACOS_ADDR=127.0.0.1:8848
|
|||
|
NACOS_NAMESPACE=56a3b295-f319-4ced-82b5-0df2e98cc541
|
|||
|
# nacos配置中心
|
|||
|
NACOS_DATAID='test'
|
|||
|
NACOS_GROUP='DEFAULT_GROUP'
|
|||
|
|
|||
|
# token配置
|
|||
|
JWT_SECRET=35ff73f70a2611ff7daba19ee8dd56807102b0fbdd50ea2e898f8a3f80a3f5b3
|
|||
|
# 过期时间 s:秒
|
|||
|
JWT_EXPIRES_IN=86400
|
|||
|
# TOKEN在cookies中的key, 保证所有业务系统都使用这个拿cookies中的token
|
|||
|
TOKEN_KEY_IN_COOKIE=authToken
|
|||
|
# TOKEN续签,到期前多少s
|
|||
|
TOKEN_RESIGN_IN=3600
|
|||
|
|
|||
|
# redis redis://:password@localhost:6379/db
|
|||
|
REDIS_URL=redis://:redis@localhost:6379/1
|