File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,6 +171,32 @@ LANGCHAIN_API_KEY=your_langsmith_api_key
171171LANGCHAIN_PROJECT=my-fastapi-langchain-project
172172```
173173
174+ 在DjangoUserService目录下,手动创建.env文件,内部配置参考.env.example,填入自己实际的值
175+
176+ ``` env
177+ # 环境配置
178+
179+ # JWT 配置
180+ JWT_SECRET_KEY=YOUR_JWT_SECRET_KEY
181+
182+ # 数据库配置
183+ DB_PORT=YOUR_DB_PORT
184+ DB_NAME=YOUR_DB_NAME
185+ DB_USER=YOUR_DB_USER
186+ DB_PASSWORD=YOUR_DB_PASSWORD
187+ DB_HOST=YOUR_DB_HOST
188+
189+ # Celery 配置
190+ CELERY_BROKER_URL=YOUR_CELERY_BROKER_URL
191+ CELERY_RESULT_BACKEND=YOUR_CELERY_RESULT_BACKEND
192+ CELERY_TASK_TIME_LIMIT=YOUR_CELERY_TASK_TIME_LIMIT
193+ CELERY_TASK_SOFT_TIME_LIMIT=YOUR_CELERY_TASK_SOFT_TIME_LIMIT
194+ CELERY_RESULT_EXPIRES=YOUR_CELERY_RESULT_EXPIRES
195+
196+ # redis 配置
197+ REDIS_CACHE_URL=YOUR_REDIS_CACHE_URL
198+ ```
199+
174200### Hugging Face 模型配置
175201
176202详细的模型下载和配置说明请参考:[ Hugging Face 模型配置] ( ./docs/huggingface_model.md )
You can’t perform that action at this time.
0 commit comments