31 lines
No EOL
578 B
YAML
31 lines
No EOL
578 B
YAML
# Compose file for testing
|
|
|
|
services:
|
|
searxng:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
container_name: searxng-custom
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- SECRET_KEY=testing
|
|
- SEARXNG_REDIS_URL=redis://redis:6379/0
|
|
- AUTHORIZED_API=false
|
|
depends_on:
|
|
- redis
|
|
cap_drop: [ALL]
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
|
|
redis:
|
|
image: docker.io/valkey/valkey:8-alpine
|
|
container_name: searxng-redis
|
|
cap_drop: [ALL]
|
|
cap_add:
|
|
- DAC_OVERRIDE
|
|
- SETGID
|
|
- SETUID |