refactor(stack.yml): 移除SEARXNG_BASE_URL并更新卷路径

移除不再需要的SEARXNG_BASE_URL环境变量,并将本地路径改为使用变量${Volumes_PATH}以增加配置灵活性
This commit is contained in:
cnphpbb
2025-12-08 16:35:16 +08:00
parent 33929c4e57
commit 8f71c85ab2

View File

@@ -21,7 +21,6 @@ services:
depends_on:
- valkey
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
- UWSGI_WORKERS=${SEARXNG_UWSGI_WORKERS:-4}
- UWSGI_THREADS=${SEARXNG_UWSGI_THREADS:-4}
ports:
@@ -29,7 +28,7 @@ services:
networks:
- searxng
volumes:
- ./searxng:/etc/searxng:rw
- ${Volumes_PATH}/etc-searxng:/etc/searxng:rw
- ${Volumes_PATH}/searxng-data:/var/cache/searxng:rw
networks: