difyvolumes等忽略
This commit is contained in:
27
docker/dify/.gitignore
vendored
Normal file
27
docker/dify/.gitignore
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
##############################
|
||||||
|
# Dify docker volumes
|
||||||
|
##############################
|
||||||
|
|
||||||
|
# 1. 默认忽略 volumes 下所有内容
|
||||||
|
volumes/**
|
||||||
|
nginx/
|
||||||
|
# 2. 保留当前已存在的目录本身(目录结构),方便写入 .gitkeep / 初始化文件
|
||||||
|
!volumes/
|
||||||
|
!volumes/app/
|
||||||
|
!volumes/certbot/
|
||||||
|
!volumes/db/
|
||||||
|
!volumes/myscale/
|
||||||
|
!volumes/oceanbase/
|
||||||
|
!volumes/opensearch/
|
||||||
|
!volumes/plugin_daemon/
|
||||||
|
!volumes/redis/
|
||||||
|
!volumes/sandbox/
|
||||||
|
!volumes/weaviate/
|
||||||
|
|
||||||
|
# 3. 如需在这些目录下保留特定文件(如 .gitkeep、README.md),
|
||||||
|
# 只需在对应目录新建文件,并在本文件中按需增加 !volumes/xxx/filename 规则。
|
||||||
|
!volumes/myscale/config/users.d/custom_users_config.xml
|
||||||
|
!volumes/oceanbase/init.d/vec_memory.sql
|
||||||
|
!volumes/opensearch/opensearch_dashboards.yml
|
||||||
|
!volumes/sandbox/conf/config.yaml
|
||||||
|
!volumes/sandbox/conf/config.yaml.example
|
||||||
Reference in New Issue
Block a user