文件挂载

- 在 searxng 容器中挂载feat(searxng): 添加配置了 ./etc 目录到 /文件挂载

- 在 searetc/searxng
- xng 容器中挂载这样可以将配置文件持久化了 ./etc 目录到 /,方便用户进行配置修改
This commit is contained in:
brightching 2025-02-12 17:08:54 +08:00
parent d70e79e566
commit 69a2224eec
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ services:
searxng:
image: searxng/searxng:latest
container_name: ${CONTAINER_NAME}
volumes:
- ./etc:/etc/searxng"
ports:
- "${PANEL_APP_PORT_HTTP}:8080"
restart: unless-stopped