mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
fix: searxng template (#651)
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
redis:
|
||||
valkey:
|
||||
image: valkey/valkey:8-alpine
|
||||
command: valkey-server --save 30 1 --loglevel warning
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
- valkey-data:/data
|
||||
|
||||
searxng:
|
||||
image: searxng/searxng:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- searxng-config:/etc/searxng
|
||||
- ../files/searxng:/etc/searxng
|
||||
- searxng-data:/var/cache/searxng
|
||||
|
||||
volumes:
|
||||
redis-data: {}
|
||||
searxng-config: {}
|
||||
valkey-data: {}
|
||||
searxng-data: {}
|
||||
|
||||
@@ -12,11 +12,15 @@ env = [
|
||||
]
|
||||
|
||||
[[config.mounts]]
|
||||
filePath = "/etc/searxng/settings.yml"
|
||||
filePath = "/searxng/settings.yml"
|
||||
content = """
|
||||
use_default_settings: true
|
||||
|
||||
server:
|
||||
secret_key: \"${secret_key}\"
|
||||
limiter: false
|
||||
image_proxy: false
|
||||
|
||||
valkey:
|
||||
url: valkey://valkey:6379/0
|
||||
"""
|
||||
Reference in New Issue
Block a user