feat: add compose file

This commit is contained in:
azyrite 2025-04-05 19:39:41 +11:00
parent 80fcdaa113
commit e99aa3290f
Signed by: azyrite
SSH key fingerprint: SHA256:YlQ5V4DtSbnuUxJxw4cwU7L9q8NbeAOAsK4NZWybTkM

31
compose.yaml Normal file
View file

@ -0,0 +1,31 @@
# 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