forked from DevOps/deploy.stack
refactor: 统一环境变量命名并整理配置文件格式
1. 将所有环境变量中的Volumes_PATH统一改为Volumes_Path 2. 把旧的.env.cnf文件重命名为.env.cfg 3. 将compose.yaml文件统一替换为stack.yml/compose.yml格式 4. 删除冗余的旧版compose配置文件
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SearXNG_TAG=searxng/searxng:latest
|
||||
Redis_TAG=valkey/valkey:9.0.0-alpine
|
||||
Valkey_TAG=valkey/valkey:9.0.0
|
||||
Volumes_PATH=/data/volumes/searxng
|
||||
Volumes_Path=/data/volumes/searxng
|
||||
|
||||
@@ -12,7 +12,7 @@ services:
|
||||
networks:
|
||||
- searxng
|
||||
volumes:
|
||||
- ${Volumes_PATH}/redis-data:/data
|
||||
- ${Volumes_Path}/redis-data:/data
|
||||
|
||||
searxng:
|
||||
image: ${SearXNG_TAG}
|
||||
@@ -28,8 +28,8 @@ services:
|
||||
networks:
|
||||
- searxng
|
||||
volumes:
|
||||
- ${Volumes_PATH}/etc-searxng:/etc/searxng:rw
|
||||
- ${Volumes_PATH}/searxng-data:/var/cache/searxng:rw
|
||||
- ${Volumes_Path}/etc-searxng:/etc/searxng:rw
|
||||
- ${Volumes_Path}/searxng-data:/var/cache/searxng:rw
|
||||
|
||||
networks:
|
||||
searxng:
|
||||
Reference in New Issue
Block a user