Skip to content

Commit 6b4778a

Browse files
committed
chore: add Milvus TLS env examples
1 parent ca31762 commit 6b4778a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

docker/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ For users migrating from the `docker-legacy` setup:
6666
- `.env` contains local startup values copied from `.env.example` and any local changes.
6767
- `envs/*.env.example` files contain optional advanced configuration grouped by theme.
6868

69+
Keep the root `.env.example` limited to variables required to start the default Docker Compose deployment.
70+
Do not add optional, advanced, provider-specific, or service-specific variables there; place them in the appropriate `envs/*.env.example` file instead.
71+
6972
Docker Compose reads `envs/*.env` files when present, then reads `.env` last so values in `.env` take precedence.
7073

7174
#### Key Modules and Customization
@@ -128,7 +131,8 @@ The root `.env.example` file contains the essential startup settings. Optional a
128131

129132
### Environment Variables Synchronization
130133

131-
When upgrading Dify or pulling the latest changes, new environment variables may be introduced in `.env.example` or the optional files under `envs/`.
134+
When upgrading Dify or pulling the latest changes, new environment variables may be introduced in `.env.example` only when they are required for startup,
135+
or in the optional files under `envs/` for advanced, provider-specific, and service-specific settings.
132136

133137
If you use the default workflow, review `.env.example` and keep your `.env` aligned with essential startup values.
134138

docker/envs/vectorstores/milvus.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ ETCD_AUTO_COMPACTION_RETENTION=1000
1111
ETCD_QUOTA_BACKEND_BYTES=4294967296
1212
ETCD_SNAPSHOT_COUNT=50000
1313
MILVUS_AUTHORIZATION_ENABLED=true
14+
MILVUS_SECURE=false
15+
MILVUS_SERVER_PEM_PATH=
16+
MILVUS_SERVER_NAME=

0 commit comments

Comments
 (0)