feat: add compose file
This commit is contained in:
parent
80fcdaa113
commit
e99aa3290f
1 changed files with 31 additions and 0 deletions
31
compose.yaml
Normal file
31
compose.yaml
Normal 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
|
Loading…
Reference in a new issue