add
This commit is contained in:
1 parent
8b3aedb4ec
commit
bcc9fa91d8
1 file changed
+11
-10
@@ -2,16 +2,6 @@
|
|||||||
|
|
||||||
部署`searxng`服务作为网络搜索工具。
|
部署`searxng`服务作为网络搜索工具。
|
||||||
|
|
||||||
## 镜像
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker pull searxng/searxng:2026.3.29-7ac4ff39f
|
|
||||||
```
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mkdir searxng-conf searxng-data
|
|
||||||
```
|
|
||||||
|
|
||||||
## docker-compose
|
## docker-compose
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -30,11 +20,22 @@ services:
|
|||||||
- SEARXNG_SECRET=397492b7676965ecec6bfb483d992ff7df3286ee6113c40472c46ed39567d1d4
|
- SEARXNG_SECRET=397492b7676965ecec6bfb483d992ff7df3286ee6113c40472c46ed39567d1d4
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 启动前要做的事
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker pull searxng/searxng:2026.3.29-7ac4ff39f
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir conf data
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
vim conf/settings.yml
|
vim conf/settings.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
# settings.yml
|
||||||
general:
|
general:
|
||||||
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
||||||
debug: false
|
debug: false
|
||||||
|
|||||||
Reference in new issue
Block a user