From e99aa3290f4b932337fcb3c60ac5f17a472f67e0 Mon Sep 17 00:00:00 2001 From: azyrite Date: Sat, 5 Apr 2025 19:39:41 +1100 Subject: [PATCH] feat: add compose file --- compose.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..31fe12f --- /dev/null +++ b/compose.yaml @@ -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 \ No newline at end of file