38 lines
932 B
YAML
38 lines
932 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
core:
|
|
image: searxng/searxng:latest
|
|
container_name: searxng
|
|
restart: no # change to unless-stopped once stable
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- searxng-config:/etc/searxng
|
|
- searxng-cache:/var/cache/searxng
|
|
environment:
|
|
- SEARXNG_BASE_URL=http://192.168.1.112:8080/
|
|
- SEARXNG_BIND_ADDRESS=0.0.0.0
|
|
- SEARXNG_PORT=8080
|
|
- FORCE_OWNERSHIP=true
|
|
# Add a secret key (generate one or use this placeholder for now)
|
|
- SEARXNG_SECRET_KEY=your-super-secret-key-change-this-in-production
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
|
|
valkey:
|
|
image: valkey/valkey:7-alpine
|
|
container_name: searxng-valkey
|
|
restart: unless-stopped
|
|
command: --save 30 1 --loglevel warning
|
|
volumes:
|
|
- valkey-data:/data
|
|
|
|
volumes:
|
|
searxng-config:
|
|
searxng-cache:
|
|
valkey-data: |