mirror of
				https://github.com/vastxie/99AI.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	Update .env.example
This commit is contained in:
		
							
								
								
									
										24
									
								
								.env.example
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								.env.example
									
									
									
									
									
								
							@@ -3,35 +3,31 @@ PORT=9520
 | 
			
		||||
PREFIX=/docs
 | 
			
		||||
APIPREFIX=/api
 | 
			
		||||
 | 
			
		||||
# mysql
 | 
			
		||||
DB_HOST=localhost # 使用docker-compose时值应该为mysql
 | 
			
		||||
# MySQL
 | 
			
		||||
# MySQL数据库主机地址
 | 
			
		||||
DB_HOST=localhost
 | 
			
		||||
# MySQL数据库端口号
 | 
			
		||||
DB_PORT=3306
 | 
			
		||||
# MySQL数据库用户名
 | 
			
		||||
DB_USER=root
 | 
			
		||||
# MySQL数据库密码
 | 
			
		||||
DB_PASS=
 | 
			
		||||
# 要使用的MySQL数据库名称
 | 
			
		||||
DB_DATABASE=chatgpt
 | 
			
		||||
DB_SYNC=true
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# jwt key token过期时间
 | 
			
		||||
JWT_SECRET=chat-cooper
 | 
			
		||||
JWT_EXPIRESIN=7d
 | 
			
		||||
 | 
			
		||||
#  mailer 邮件服务
 | 
			
		||||
MAILER_HOST=smtp.qq.com
 | 
			
		||||
MAILER_PORT=587
 | 
			
		||||
MAILER_USER=
 | 
			
		||||
MAILER_PASS=
 | 
			
		||||
MAILER_FROM=
 | 
			
		||||
 | 
			
		||||
# Redis
 | 
			
		||||
REDIS_PORT=6379
 | 
			
		||||
REDIS_HOST=127.0.0.1 # 使用docker-compose时值应该为redis
 | 
			
		||||
REDIS_HOST=127.0.0.1
 | 
			
		||||
REDIS_PASSWORD=
 | 
			
		||||
REDIS_USER=
 | 
			
		||||
 | 
			
		||||
# 是否测试环境
 | 
			
		||||
ISDEV=FALSE
 | 
			
		||||
 | 
			
		||||
# mj并发数
 | 
			
		||||
CONCURRENCY=5
 | 
			
		||||
 | 
			
		||||
NAMESPACE=NINEAI
 | 
			
		||||
NAMESPACE=NINEAI
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user