alioth/star-tune/.env
2025-05-30 18:37:21 +08:00

37 lines
831 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 系统信息
HOST=0.0.0.0
PORT=3000
# 日志配置
LOG_LEVEL=debug # 日志级别debug, verbose, info, warn, error
LOG_MAX_FILES=30d # 保留日志文件的时间
LOG_MAX_SIZE=20m # 单个日志文件的最大大小
LOG_DIRECTORY=logs # 日志文件存储目录
LOG_CONSOLE=true # 是否在控制台输出日志
# 数据库MYSQL配置
DB_HOST=172.16.1.3
DB_PORT=3306
DB_USER=root
DB_NAME=
DB_PASSWORD=docker
# redis配置
REDIS_HOST=172.16.1.3
REDIS_PORT=6379
REDIS_USERNAME=default
REDIS_PASSWORD=docker
REDIS_DATABASE=9
REDIS_CONNECT_NAME=star-tune
REDIS_TTL=3600
# 初始密码
USER_DEFAULT_PASSWORD=startune
# 加密盐值
PASSWORD_SALT=StarTune123
# 迭代次数
PASSWORD_ITERATIONS=15000
# 密钥长度
PASSWORD_KEYLEN=64
哈希算法
PASSWORD_DIGEST=sha512