瀏覽代碼

RAGFlow service_conf using .env variable (#8454)

### What problem does this PR solve?
Fix: when using external components, it is impossible to specify the
port, because the variables in the `docker/.env` variable were not
referenced by `docker/service_conf.yaml.template`.

382d2d0373/docker/.env (L85)

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
tags/v0.20.0
ruansheng 4 月之前
父節點
當前提交
de8ba7298c
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      docker/service_conf.yaml.template

+ 2
- 2
docker/service_conf.yaml.template 查看文件

@@ -12,7 +12,7 @@ mysql:
minio:
user: '${MINIO_USER:-rag_flow}'
password: '${MINIO_PASSWORD:-infini_rag_flow}'
host: '${MINIO_HOST:-minio}:9000'
host: '${MINIO_HOST:-minio}:${MINIO_PORT:-9000}'
es:
hosts: 'http://${ES_HOST:-es01}:9200'
username: '${ES_USER:-elastic}'
@@ -27,7 +27,7 @@ infinity:
redis:
db: 1
password: '${REDIS_PASSWORD:-infini_rag_flow}'
host: '${REDIS_HOST:-redis}:6379'
host: '${REDIS_HOST:-redis}:${REDIS_PORT:-6379}'

# postgres:
# name: '${POSTGRES_DBNAME:-rag_flow}'

Loading…
取消
儲存