从新提交到gitee 仓库
This commit is contained in:
@@ -10,7 +10,7 @@ done < /ragflow/conf/service_conf.yaml.template
|
||||
# unset http proxy which maybe set by docker daemon
|
||||
export http_proxy=""; export https_proxy=""; export no_proxy=""; export HTTP_PROXY=""; export HTTPS_PROXY=""; export NO_PROXY=""
|
||||
|
||||
/usr/sbin/nginx
|
||||
# /usr/sbin/nginx # cyx
|
||||
|
||||
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
|
||||
|
||||
|
||||
16
docker/ragflow.service
Normal file
16
docker/ragflow.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Ragflow docker Service
|
||||
After=docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/docker compose -f docker-compose.yml up -d
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
User=ubuntu
|
||||
WorkingDirectory=/home/ubuntu/ragflow/docker
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -6,7 +6,8 @@ mysql:
|
||||
user: '${MYSQL_USER:-root}'
|
||||
password: '${MYSQL_PASSWORD:-infini_rag_flow}'
|
||||
host: '${MYSQL_HOST:-mysql}'
|
||||
port: 3306
|
||||
# port: 3306 # cyx
|
||||
port: 5455
|
||||
max_connections: 100
|
||||
stale_timeout: 30
|
||||
minio:
|
||||
@@ -14,7 +15,9 @@ minio:
|
||||
password: '${MINIO_PASSWORD:-infini_rag_flow}'
|
||||
host: '${MINIO_HOST:-minio}:9000'
|
||||
es:
|
||||
hosts: 'http://${ES_HOST:-es01}:9200'
|
||||
# hosts: 'http://${ES_HOST:-es01}:9200' # cyx
|
||||
hosts: 'http://${ES_HOST:-es01}:1200'
|
||||
username: '${ES_USER:-elastic}'
|
||||
username: '${ES_USER:-elastic}'
|
||||
password: '${ELASTIC_PASSWORD:-infini_rag_flow}'
|
||||
infinity:
|
||||
|
||||
Reference in New Issue
Block a user