forked from DevOps/deploy.stack
refactor(stack.yml): 移除SEARXNG_BASE_URL并更新卷路径
移除不再需要的SEARXNG_BASE_URL环境变量,并将本地路径改为使用变量${Volumes_PATH}以增加配置灵活性
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user