forked from DevOps/deploy.stack
ci: 将redis和searxng的卷路径改为使用环境变量
使用${Volumes_PATH}环境变量来配置redis和searxng的卷路径,提高部署灵活性
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- ${Volumes_PATH}/redis-data:/data
|
||||||
|
|
||||||
searxng:
|
searxng:
|
||||||
image: ${SearXNG_TAG}
|
image: ${SearXNG_TAG}
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
volumes:
|
volumes:
|
||||||
- etc-searxng:/etc/searxng
|
- ${Volumes_PATH}/etc-searxng:/etc/searxng
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
searxng:
|
searxng:
|
||||||
Reference in New Issue
Block a user