文件挂载
- 在 searxng 容器中挂载feat(searxng): 添加配置了 ./etc 目录到 /文件挂载 - 在 searetc/searxng - xng 容器中挂载这样可以将配置文件持久化了 ./etc 目录到 /,方便用户进行配置修改
This commit is contained in:
parent
d70e79e566
commit
69a2224eec
|
@ -2,6 +2,8 @@ services:
|
||||||
searxng:
|
searxng:
|
||||||
image: searxng/searxng:latest
|
image: searxng/searxng:latest
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
|
volumes:
|
||||||
|
- ./etc:/etc/searxng"
|
||||||
ports:
|
ports:
|
||||||
- "${PANEL_APP_PORT_HTTP}:8080"
|
- "${PANEL_APP_PORT_HTTP}:8080"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in New Issue