mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-18 15:13:41 +08:00
38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Timezone
|
|
TZ=Asia/Shanghai
|
|
|
|
# MySQL Configuration
|
|
MYSQL_ROOT_PASSWORD=root
|
|
MYSQL_DATABASE=ruoyi-ai
|
|
MYSQL_PORT=3306
|
|
|
|
# Redis Configuration
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DATABASE=0
|
|
REDIS_TIMEOUT=10s
|
|
|
|
# Weaviate Configuration
|
|
WEAVIATE_QUERY_LIMIT=25
|
|
WEAVIATE_ANONYMOUS_ACCESS=true
|
|
WEAVIATE_DATA_PATH=/var/lib/weaviate
|
|
WEAVIATE_VECTORIZER_MODULE=none
|
|
WEAVIATE_MODULES=text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai
|
|
WEAVIATE_CLUSTER_HOSTNAME=node1
|
|
WEAVIATE_PROTOCOL=http
|
|
WEAVIATE_HOST=weaviate:8080
|
|
WEAVIATE_CLASSNAME=LocalKnowledge
|
|
|
|
# Backend Configuration
|
|
BACKEND_SERVER_PORT=6039
|
|
DB_URL=jdbc:mysql://mysql:3306/ruoyi-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
|
DB_USERNAME=root
|
|
DB_PASSWORD=root
|
|
REDIS_HOST=redis
|
|
|
|
# Admin Configuration
|
|
ADMIN_SERVER_PORT=8082
|
|
|
|
# Web Configuration
|
|
WEB_SERVER_PORT=8081
|