Add ssl setting

This commit is contained in:
wbsong111
2025-08-20 11:35:55 +09:00
parent e05979cc19
commit 87e0e0430b
2 changed files with 7 additions and 25 deletions
+4 -1
View File
@@ -31,6 +31,7 @@
| `env.REDIS_PASSWORD` | Redis 비밀번호 | `infini_rag_flow_helm` | | `env.REDIS_PASSWORD` | Redis 비밀번호 | `infini_rag_flow_helm` |
| `env.RAGFLOW_IMAGE` | RAGFlow Docker 이미지 | `infiniflow/ragflow:v0.20.1-slim` | | `env.RAGFLOW_IMAGE` | RAGFlow Docker 이미지 | `infiniflow/ragflow:v0.20.1-slim` |
| `env.REQUESTS_CA_BUNDLE` | 사설 인증서 사용 시 CA 번들 파일 경로 | 설정하지 않음 | | `env.REQUESTS_CA_BUNDLE` | 사설 인증서 사용 시 CA 번들 파일 경로 | 설정하지 않음 |
| `env.SSL_CERT_FILE` | SSL 인증서 파일 경로 (사설 인증서 사용 시) | 설정하지 않음 |
| `env.TIMEZONE` | 로컬 시간대 설정 | `"Asia/Seoul"` | | `env.TIMEZONE` | 로컬 시간대 설정 | `"Asia/Seoul"` |
| `env.DOC_BULK_SIZE` | 문서 파싱 시 단일 배치에서 처리되는 문서 청크 수 | `4` | | `env.DOC_BULK_SIZE` | 문서 파싱 시 단일 배치에서 처리되는 문서 청크 수 | `4` |
| `env.EMBEDDING_BATCH_SIZE` | 임베딩 벡터화 시 단일 배치에서 처리되는 텍스트 청크 수 | `16` | | `env.EMBEDDING_BATCH_SIZE` | 임베딩 벡터화 시 단일 배치에서 처리되는 텍스트 청크 수 | `16` |
@@ -88,6 +89,7 @@ ragflow:
env: env:
# 사설 인증서 사용 시 CA 번들 파일 경로 설정 # 사설 인증서 사용 시 CA 번들 파일 경로 설정
REQUESTS_CA_BUNDLE: /tmp/ca.crt REQUESTS_CA_BUNDLE: /tmp/ca.crt
SSL_CERT_FILE: /tmp/ca.crt
ragflow: ragflow:
# 사설 인증서를 포함한 Secret을 볼륨으로 마운트 # 사설 인증서를 포함한 Secret을 볼륨으로 마운트
@@ -314,6 +316,7 @@ kubectl create secret generic keycloak-tls \
env: env:
# Python requests 라이브러리가 사용할 CA 번들 파일 경로 # Python requests 라이브러리가 사용할 CA 번들 파일 경로
REQUESTS_CA_BUNDLE: /tmp/ca.crt REQUESTS_CA_BUNDLE: /tmp/ca.crt
SSL_CERT_FILE: /tmp/ca.crt
ragflow: ragflow:
volumes: volumes:
@@ -329,7 +332,7 @@ ragflow:
``` ```
#### 3.6.3) 주의사항 #### 3.6.3) 주의사항
- `REQUESTS_CA_BUNDLE` 경로 `volumeMounts.mountPath` 일치해야 합니다. - `REQUESTS_CA_BUNDLE`와 `SSL_CERT_FILE`의 경로 `volumeMounts.mountPath` 일치해야 합니다.
- `subPath`를 사용하여 Secret의 특정 키만 마운트하는 것을 권장합니다. - `subPath`를 사용하여 Secret의 특정 키만 마운트하는 것을 권장합니다.
- 인증서 파일은 읽기 전용(`readOnly: true`)으로 마운트하세요. - 인증서 파일은 읽기 전용(`readOnly: true`)으로 마운트하세요.
+3 -24
View File
@@ -36,30 +36,6 @@ env:
# Defaults to the v0.20.1-slim edition, which is the RAGFlow Docker image without embedding models. # Defaults to the v0.20.1-slim edition, which is the RAGFlow Docker image without embedding models.
RAGFLOW_IMAGE: infiniflow/ragflow:v0.20.1-slim RAGFLOW_IMAGE: infiniflow/ragflow:v0.20.1-slim
# Custom CA certificate bundle path for HTTPS requests
# Uncomment and set the path if using custom certificates
# REQUESTS_CA_BUNDLE: /tmp/ca.crt
#
# To download the RAGFlow Docker image with embedding models, uncomment the following line instead:
# RAGFLOW_IMAGE: infiniflow/ragflow:v0.20.1
#
# The Docker image of the v0.20.1 edition includes:
# - Built-in embedding models:
# - BAAI/bge-large-zh-v1.5
# - BAAI/bge-reranker-v2-m3
# - maidalun1020/bce-embedding-base_v1
# - maidalun1020/bce-reranker-base_v1
# - Embedding models that will be downloaded once you select them in the RAGFlow UI:
# - BAAI/bge-base-en-v1.5
# - BAAI/bge-large-en-v1.5
# - BAAI/bge-small-en-v1.5
# - BAAI/bge-small-zh-v1.5
# - jinaai/jina-embeddings-v2-base-en
# - jinaai/jina-embeddings-v2-small-en
# - nomic-ai/nomic-embed-text-v1.5
# - sentence-transformers/all-MiniLM-L6-v2
#
#
# The local time zone. # The local time zone.
TIMEZONE: "Asia/Seoul" TIMEZONE: "Asia/Seoul"
@@ -78,6 +54,9 @@ env:
# The number of text chunks processed in a single batch during embedding vectorization. # The number of text chunks processed in a single batch during embedding vectorization.
EMBEDDING_BATCH_SIZE: 16 EMBEDDING_BATCH_SIZE: 16
REQUESTS_CA_BUNDLE: /tmp/ca.crt
SSL_CERT_FILE: /tmp/ca.crt
ragflow: ragflow:
# Optional service configuration overrides # Optional service configuration overrides