mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-03 02:55:29 +08:00
docs: add security warnings for default passwords in .env (#12250)
Enhances security by adding explicit warnings in the environment template about changing default passwords for MySQL, Elasticsearch, and MinIO before deployment.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# SECURITY WARNING: DO NOT DEPLOY WITH DEFAULT PASSWORDS
|
||||||
|
# For non-local deployments, please change all passwords (ELASTIC_PASSWORD,
|
||||||
|
# MYSQL_PASSWORD, MINIO_PASSWORD, etc.) to strong, unique values.
|
||||||
|
# You can generate a random string using: openssl rand -hex 32
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
# docker env var for specifying vector db type at startup
|
# docker env var for specifying vector db type at startup
|
||||||
# (based on the vector db type, the corresponding docker
|
# (based on the vector db type, the corresponding docker
|
||||||
@ -30,6 +37,7 @@ ES_HOST=es01
|
|||||||
ES_PORT=1200
|
ES_PORT=1200
|
||||||
|
|
||||||
# The password for Elasticsearch.
|
# The password for Elasticsearch.
|
||||||
|
# WARNING: Change this for production!
|
||||||
ELASTIC_PASSWORD=infini_rag_flow
|
ELASTIC_PASSWORD=infini_rag_flow
|
||||||
|
|
||||||
# the hostname where OpenSearch service is exposed, set it not the same as elasticsearch
|
# the hostname where OpenSearch service is exposed, set it not the same as elasticsearch
|
||||||
@ -85,6 +93,7 @@ OB_DATAFILE_SIZE=${OB_DATAFILE_SIZE:-20G}
|
|||||||
OB_LOG_DISK_SIZE=${OB_LOG_DISK_SIZE:-20G}
|
OB_LOG_DISK_SIZE=${OB_LOG_DISK_SIZE:-20G}
|
||||||
|
|
||||||
# The password for MySQL.
|
# The password for MySQL.
|
||||||
|
# WARNING: Change this for production!
|
||||||
MYSQL_PASSWORD=infini_rag_flow
|
MYSQL_PASSWORD=infini_rag_flow
|
||||||
# The hostname where the MySQL service is exposed
|
# The hostname where the MySQL service is exposed
|
||||||
MYSQL_HOST=mysql
|
MYSQL_HOST=mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user